/* SMD Overseas – Premium Portal Theme (PS Immigration style) */

:root {
  --portal-radius: 18px;
  --portal-radius-sm: 12px;
  --portal-shadow: 0 10px 40px rgba(26, 10, 13, 0.08);
  --portal-shadow-lg: 0 20px 60px rgba(220, 20, 60, 0.12);
  --portal-glass: rgba(255, 255, 255, 0.92);
  --surface-dark: #120608;
  --surface-muted: #f8f4f5;
}

/* Portal section headers */
.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 20, 60, 0.08);
  border: 1px solid rgba(220, 20, 60, 0.2);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.portal-section {
  padding: 72px 0;
  position: relative;
}
.portal-section--dark {
  background: linear-gradient(160deg, var(--surface-dark) 0%, #2a0a12 50%, var(--red-dark) 100%);
  color: white;
}
.portal-section--dark .section-title { color: white; }
.portal-section--dark .section-title span { color: var(--red-light); }
.portal-section--dark .section-sub { color: rgba(255,255,255,0.65); }
.portal-section--dark .portal-badge {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: var(--red-light);
}
.portal-section--muted { background: var(--surface-muted); }

/* Filter tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
}
.filter-tab {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--dark);
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-tab:hover {
  border-color: var(--red);
  color: var(--red);
}
.filter-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: white;
  box-shadow: 0 4px 16px rgba(220,20,60,0.3);
}

/* Live badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 20, 60, 0.12);
  border: 1px solid rgba(220, 20, 60, 0.35);
  color: var(--red);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.live-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: livePulse 1.4s ease-in-out infinite;
}
.portal-section--dark .live-badge {
  background: rgba(255,77,109,0.15);
  border-color: rgba(255,77,109,0.4);
  color: var(--red-light);
}
.portal-section--dark .live-badge::before { background: var(--red-light); }

/* Apply panel */
.apply-section {
  padding: 0 0 56px;
  margin-top: -32px;
  position: relative;
  z-index: 10;
}
.apply-panel {
  background: var(--portal-glass);
  backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: var(--portal-radius);
  box-shadow: var(--portal-shadow-lg);
  padding: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.apply-panel-header {
  text-align: center;
  margin-bottom: 24px;
}
.apply-panel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.apply-panel-header p {
  color: var(--grey);
  font-size: 0.9rem;
  margin: 0;
}
.apply-panel .form-label-sm { color: var(--dark); }
.apply-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--grey);
}
.apply-trust i { color: var(--red); }

/* Premium stats */
.stats-bar {
  background: var(--surface-muted) !important;
  border: none !important;
  padding: 40px 0 56px !important;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.stat-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--portal-radius-sm);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--portal-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--portal-shadow-lg);
  border-color: rgba(220,20,60,0.25);
}
.stat-card .stat-num {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

/* Profile grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.profile-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--portal-radius);
  padding: 26px 22px;
  box-shadow: var(--portal-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--portal-shadow-lg);
}
.profile-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.profile-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}
.profile-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 10px;
}
.profile-card p,
.profile-card ul {
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.65;
  margin: 0;
}
.profile-card ul { padding-left: 18px; }
.profile-card li { margin-bottom: 4px; }
.profile-card--wide { grid-column: span 2; }

.values-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.value-chip {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--portal-radius-sm);
  padding: 16px;
  text-align: center;
}
.value-chip strong {
  display: block;
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 4px;
}
.value-chip span {
  font-size: 0.75rem;
  color: var(--grey);
  line-height: 1.5;
}

/* Featured / live courses */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 18px;
}
.featured-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--portal-radius);
  padding: 0 0 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.featured-card-img {
  height: 168px;
  overflow: hidden;
  position: relative;
}
.featured-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(18, 6, 8, 0.85));
}
.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.featured-card:hover .featured-card-img img { transform: scale(1.07); }
.featured-card .live-badge,
.featured-card-loc,
.featured-card h3,
.featured-card .featured-tag,
.featured-card p,
.featured-card-actions {
  margin-left: 24px;
  margin-right: 24px;
}
.featured-card .live-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  margin: 0;
}
.featured-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,77,109,0.45);
  background: rgba(255,255,255,0.1);
}
.featured-card-loc {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 8px;
  margin-top: 16px;
}
.featured-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.featured-card .featured-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.featured-card p {
  font-size: 0.82rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 16px;
}
.featured-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.featured-btn {
  background: white;
  color: var(--red);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.featured-btn:hover { background: var(--cream); color: var(--red-dark); }
.featured-btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.featured-btn-outline:hover { background: rgba(255,255,255,0.1); color: white; }

/* Country portal cards */
.country-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.country-portal-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--portal-radius-sm);
  padding: 0 0 18px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}
.country-portal-img {
  height: 120px;
  overflow: hidden;
  margin-bottom: 14px;
}
.country-portal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.country-portal-card:hover .country-portal-img img { transform: scale(1.06); }
.country-portal-card .country-portal-flag,
.country-portal-card h3,
.country-portal-card .country-portal-meta,
.country-portal-card .country-portal-desc,
.country-portal-card .country-portal-btn {
  margin-left: 18px;
  margin-right: 18px;
}
.country-portal-card .country-portal-btn { margin-top: 4px; }
.country-portal-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--portal-shadow);
}
.country-portal-card.hidden { display: none; }
.country-portal-flag { font-size: 1.6rem; margin-bottom: 8px; }
.country-portal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.country-portal-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 6px;
}
.country-portal-desc {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 12px;
}
.country-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--red);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.country-portal-btn:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

/* Course card portal upgrade */
.course-card {
  border-radius: var(--portal-radius-sm) !important;
  box-shadow: var(--portal-shadow);
}
.course-card .course-enquire {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: var(--red);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.course-card .course-enquire:hover { background: var(--red-dark); color: white; }
.course-col.hidden { display: none; }
.course-card-img {
  height: 148px;
  margin: -24px -22px 16px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}
.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.course-card:hover .course-card-img img { transform: scale(1.06); }

/* Process timeline portal */
.process-step {
  border-radius: var(--portal-radius-sm) !important;
  box-shadow: var(--portal-shadow);
}

/* Bottom apply CTA */
.apply-bottom {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.apply-bottom .apply-panel {
  background: white;
  border: none;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  z-index: 997;
  width: 320px;
  max-width: calc(100vw - 48px - env(safe-area-inset-right, 0px) - env(safe-area-inset-left, 0px));
}
.chat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  width: 100%;
  transition: transform 0.2s;
}
.chat-toggle:hover { transform: scale(1.02); }
.chat-toggle .chat-status {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  animation: livePulse 1.4s infinite;
}
.chat-panel {
  display: none;
  background: white;
  border-radius: var(--portal-radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1.5px solid var(--border);
}
.chat-panel.open { display: block; animation: modalPop 0.35s ease; }
.chat-panel-header {
  background: var(--red);
  color: white;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-panel-header h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}
.chat-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}
.chat-body { padding: 14px; }
.chat-msg {
  background: var(--cream);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.55;
  margin-bottom: 12px;
}
.chat-quick-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-quick-btn {
  background: white;
  border: 1.5px solid var(--border);
  color: var(--dark);
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-quick-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ========== PS-STYLE FRONT PORTAL ========== */

.top-info-bar {
  background: #05080f;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  padding: 8px 0;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
}
.top-info-bar .container {
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
}
.top-info-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 24px;
}
.top-info-inner a,
.top-info-inner span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  white-space: nowrap;
}
.top-info-inner a:hover { color: var(--red-light); }

.navbar-portal {
  background: rgba(8, 14, 28, 0.92) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}
.navbar-portal .site-logo-wrap {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.navbar-portal .brand-text strong { color: white; }
.navbar-portal .brand-text span { color: rgba(255,255,255,0.55); max-width: 220px; }
.navbar-portal .nav-link { color: rgba(255,255,255,0.82) !important; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.navbar-portal .nav-link:hover { color: var(--red-light) !important; }
.navbar-portal .nav-cta {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b35 100%);
  border-radius: 8px;
  padding: 8px 16px !important;
}
.navbar-portal.navbar-scrolled {
  background: rgba(255,255,255,0.97) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
}
.navbar-portal.navbar-scrolled .brand-text strong { color: var(--red); }
.navbar-portal.navbar-scrolled .brand-text span { color: var(--grey); }
.navbar-portal.navbar-scrolled .nav-link { color: var(--dark) !important; }
.navbar-portal.navbar-scrolled .nav-link:hover { color: var(--red) !important; }
.navbar-portal .navbar-toggler-icon {
  filter: invert(1);
}
.navbar-portal.navbar-scrolled .navbar-toggler-icon {
  filter: none;
}

.hero-portal {
  position: relative;
  min-height: calc(100vh - 120px);
  padding: 48px 0 56px;
  color: white;
  overflow: hidden;
  perspective: 1600px;
  transform-style: preserve-3d;
}
.hero-portal-content {
  position: relative;
  z-index: 2;
  padding-top: 12px;
  transform-style: preserve-3d;
}
.hero-portal-content h1.visible {
  animation: section3DReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-country-chip.visible {
  animation: chip3DPop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-apply-panel {
  position: relative;
  z-index: 2;
  background: rgba(10, 16, 32, 0.75);
  border: 1.5px solid rgba(80, 130, 255, 0.25);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 20px 60px rgba(0,0,0,0.35),
    0 0 40px rgba(220,20,60,0.08);
  backdrop-filter: blur(16px);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.hero-apply-panel.visible {
  animation: heroPanel3D 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-apply-panel:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 28px 70px rgba(0,0,0,0.4),
    0 0 50px rgba(220,20,60,0.12);
}

.section-animate.portal-section--dark,
.section-animate.portal-section--muted,
.section-animate.courses-section,
.section-animate.countries-section,
.section-animate.india-section,
.section-animate.process-section,
.section-animate.success-section,
.section-animate.sectors-section,
.section-animate.why-section,
.section-animate.stats-bar,
.section-animate.apply-bottom {
  perspective: 1400px;
}

.stats-bar.section-visible .stat-card.visible {
  animation: float3D 5.5s ease-in-out infinite;
}
.stats-bar.section-visible .stat-card:nth-child(2) { animation-delay: -1.2s; }
.stats-bar.section-visible .stat-card:nth-child(3) { animation-delay: -2.4s; }
.stats-bar.section-visible .stat-card:nth-child(4) { animation-delay: -3.6s; }

.process-step.card-3d-tilt.visible {
  animation: float3D 7s ease-in-out infinite;
}

.top-info-bar.animate-on-scroll {
  transform: perspective(900px) rotateX(-12deg) translateY(-24px) translateZ(-40px);
}
.top-info-bar.animate-on-scroll.visible {
  transform: perspective(900px) rotateX(0) translateY(0) translateZ(0);
}
.hero-portal-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(220,20,60,0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 70%, rgba(30,80,180,0.12) 0%, transparent 40%),
    linear-gradient(145deg, #060b16 0%, #0d1528 45%, #1a0a12 100%);
}
.hero-portal-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%);
}
.hero-portal-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-portal-glow--1 {
  width: 320px;
  height: 320px;
  top: 10%;
  left: 8%;
  background: rgba(220,20,60,0.15);
  animation: heroOrb 12s ease-in-out infinite;
}
.hero-portal-glow--2 {
  width: 280px;
  height: 280px;
  bottom: 5%;
  right: 10%;
  background: rgba(50,100,220,0.12);
  animation: heroOrb 14s ease-in-out infinite reverse;
}
.hero-portal-live-ribbon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: var(--red);
  color: white;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 14px 8px;
  border-radius: 0 10px 10px 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 4px 0 20px rgba(220,20,60,0.35);
}
.hero-portal-content { position: relative; z-index: 2; padding-top: 12px; transform-style: preserve-3d; }
.hero-portal-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(220,20,60,0.15);
  border: 1px solid rgba(220,20,60,0.35);
  color: var(--red-light);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-portal-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero-portal-content h1 span { color: rgba(255,255,255,0.55); }
.hero-portal-content p {
  color: rgba(255,255,255,0.68);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.hero-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-portal-btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, #ff6b35 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(220,20,60,0.35);
}
.hero-portal-btn-primary:hover {
  color: white;
  transform: translateY(-2px) translateZ(12px);
  box-shadow: 0 12px 32px rgba(220,20,60,0.45);
}
.hero-portal-btn-outline:hover {
  color: white;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  transform: translateZ(8px);
}
.hero-portal-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.hero-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-country-chip:hover {
  color: white;
  background: rgba(220,20,60,0.2);
  border-color: rgba(220,20,60,0.4);
}
.hero-portal-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
}
.hero-portal-btn-outline {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: white;
}
.hero-portal-location:hover { color: white; border-color: rgba(255,255,255,0.25); }

.hero-apply-panel-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 900;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.hero-apply-panel-header p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-bottom: 18px;
  line-height: 1.5;
}
.hero-apply-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-apply-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 11px 14px;
  color: white;
  font-size: 0.84rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.hero-apply-input::placeholder { color: rgba(255,255,255,0.38); }
.hero-apply-input:focus {
  outline: none;
  border-color: rgba(220,20,60,0.5);
  background: rgba(255,255,255,0.08);
}
.hero-apply-input option {
  background: #0d1528;
  color: white;
}
.hero-apply-textarea { resize: vertical; min-height: 72px; }
.hero-apply-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 13px 18px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red) 0%, #ff6b35 50%, #3b82f6 100%);
  color: white;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-apply-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(220,20,60,0.35);
}
.hero-apply-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.hero-apply-trust i { color: var(--red-light); }

.about-leaders-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.about-leader-card img {
  width: 140px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid white;
  box-shadow: 0 10px 30px rgba(220,20,60,0.15);
}
.about-leader-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
}

.quick-contact-dock .quick-contact-btn:nth-child(1),
.quick-contact-dock .quick-contact-btn--wa {
  background: #25D366;
  color: white;
}
.quick-contact-dock .quick-contact-btn:nth-child(2),
.quick-contact-dock .quick-contact-btn--call {
  background: #3b82f6;
  color: white;
}
.quick-contact-dock .quick-contact-btn:nth-child(3),
.quick-contact-dock .quick-contact-btn--email {
  background: #8b5cf6;
  color: white;
}
.quick-contact-dock .quick-contact-btn:nth-child(4),
.quick-contact-dock .quick-contact-btn--chat {
  background: #f97316;
  color: white;
}

/* PS-style right sidebar buttons */
.quick-contact-dock--right {
  left: auto;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(110%);
  padding-left: 0;
  padding-right: env(safe-area-inset-right, 0px);
  gap: 8px;
  z-index: 998;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
}
.quick-contact-dock--right.dock-visible {
  transform: translateY(-50%) translateX(0);
}
.quick-contact-dock--right .quick-contact-btn {
  flex-direction: row;
  justify-content: flex-start;
  max-width: none !important;
  width: auto;
  min-width: 148px;
  padding: 11px 16px !important;
  gap: 10px !important;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 4px 20px rgba(0,0,0,0.25);
}
.quick-contact-dock--right .quick-contact-btn span {
  opacity: 1 !important;
  max-width: none !important;
  font-size: 0.78rem;
  font-weight: 700;
}
.quick-contact-dock--right .quick-contact-btn:hover {
  max-width: none !important;
  padding-right: 20px !important;
  transform: translateX(-4px);
  filter: brightness(1.08);
}
.quick-contact-dock--right .quick-contact-btn--wa:hover { background: #1ebe5d; }
.quick-contact-dock--right .quick-contact-btn--call:hover { background: #2563eb; }
.quick-contact-dock--right .quick-contact-btn--email:hover { background: #7c3aed; }
.quick-contact-dock--right .quick-contact-btn--chat:hover { background: #ea580c; }

.navbar-portal .nav-cta-admin {
  background: linear-gradient(135deg, #f97316 0%, #ff6b35 100%) !important;
  color: white !important;
  border-radius: 8px;
  padding: 8px 18px !important;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.72rem !important;
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.navbar-portal .nav-cta-admin:hover {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
  color: white !important;
}

.quick-contact-dock .quick-contact-btn {
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Hero portal tweaks (legacy) */
.hero-tag-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Candidate Success Stories – PS-style */
.success-section {
  background: linear-gradient(180deg, #060d1a 0%, #0a1628 45%, #0d1b30 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.success-section-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 100%);
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.35) 0%, rgba(99, 102, 241, 0.12) 40%, transparent 72%);
  pointer-events: none;
}
.success-eyebrow {
  display: inline-block;
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.success-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.success-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #3b82f6;
  font-size: 1rem;
  letter-spacing: 4px;
}
.success-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.success-story-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s, box-shadow 0.35s;
}
.success-story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(59, 130, 246, 0.22);
}
.success-new-tag {
  position: absolute;
  top: 14px;
  left: -32px;
  z-index: 3;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 36px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.success-story-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px 22px 18px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.success-avatar-wrap {
  flex-shrink: 0;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #3b82f6 0%, #fff 45%, #ec4899 100%);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}
.success-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  display: block;
}
.success-story-content {
  flex: 1;
  min-width: 0;
}
.success-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.success-location i {
  color: #ef4444;
  font-size: 0.82rem;
}
.success-flag {
  font-size: 1rem;
  line-height: 1;
}
.success-story-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.2;
}
.success-details {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.success-details li {
  font-size: 0.82rem;
  color: #374151;
  line-height: 1.55;
  margin-bottom: 2px;
}
.success-details strong {
  color: #111827;
  font-weight: 700;
}
.success-sector-tag {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}
.success-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.success-apply-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
  color: #fff;
}

/* Recruitment Sectors – PS-style */
.sectors-section {
  background: linear-gradient(180deg, #050a14 0%, #0a1628 50%, #0d1b30 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
}
.sectors-section-glow {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 100%);
  height: 240px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.28) 0%, rgba(99, 102, 241, 0.1) 45%, transparent 75%);
  pointer-events: none;
}
.sectors-eyebrow {
  display: inline-block;
  color: #60a5fa;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sectors-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}
.sectors-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.sectors-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}
.sectors-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.35);
}
.sectors-dots span.active {
  background: #3b82f6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.8);
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.sector-card {
  background: rgba(8, 16, 32, 0.85);
  border: 1.5px solid rgba(34, 211, 238, 0.45);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.15),
    0 0 24px rgba(34, 211, 238, 0.12),
    inset 0 0 40px rgba(34, 211, 238, 0.04);
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.sector-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.75);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.3),
    0 0 36px rgba(34, 211, 238, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.35);
}
.sector-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 10px;
}
.sector-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.sector-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.3;
}
.sector-card-img {
  height: 150px;
  overflow: hidden;
  border-top: 1px solid rgba(34, 211, 238, 0.15);
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
}
.sector-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.sector-card:hover .sector-card-img img {
  transform: scale(1.06);
}
.sector-card-body {
  padding: 16px 16px 20px;
}
.sector-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.sector-card-body p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Navbar portal */
.navbar {
  border-bottom: 1px solid var(--border) !important;
}

/* RESPONSIVE – ALL DEVICES */
@media (max-width: 1199px) {
  .hero-portal-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.6rem);
  }
  .navbar-portal .nav-link {
    font-size: 0.72rem;
    padding: 8px 10px !important;
  }
}

@media (max-width: 991px) {
  .portal-section {
    padding: 52px 0;
  }
  .hero-portal {
    min-height: auto;
    padding: 32px 0 40px;
  }
  .hero-portal-live-ribbon {
    display: none;
  }
  .hero-apply-panel {
    margin-top: 12px;
  }
  .hero-portal-countries {
    gap: 6px;
  }
  .hero-country-chip {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-card--wide {
    grid-column: span 2;
  }
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .country-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .success-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .navbar-portal .navbar-collapse {
    background: rgba(8, 14, 28, 0.98);
    padding: 14px;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-portal.navbar-scrolled .navbar-collapse {
    background: white;
    border-color: var(--border);
    box-shadow: var(--portal-shadow);
  }
  .navbar-portal .navbar-nav {
    gap: 4px !important;
  }
  .navbar-portal .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px !important;
    border-radius: 8px;
  }
  .navbar-portal .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
  }
  .navbar-portal.navbar-scrolled .nav-link:hover {
    background: var(--cream);
  }
  .navbar-portal .nav-cta-admin {
    display: block;
    text-align: center;
    margin-top: 8px;
    width: 100%;
  }
  .filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tab {
    flex-shrink: 0;
  }
  .destination-reels {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 768px) {
  .top-info-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.68rem;
    gap: 6px;
  }
  .top-info-inner a {
    white-space: normal;
  }
  .top-info-inner span:last-child {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
  }
  .hero-portal-content h1 {
    font-size: 1.65rem;
  }
  .hero-portal-content p {
    max-width: 100%;
  }
  .hero-portal-actions {
    flex-direction: column;
  }
  .hero-portal-btn {
    width: 100%;
    justify-content: center;
  }
  .hero-apply-panel {
    padding: 20px 16px;
  }
  .hero-apply-input,
  .hero-apply-textarea {
    font-size: 16px;
  }
  .hero-apply-submit {
    font-size: 0.72rem;
    padding: 12px 14px;
  }
  .about-leader-card img {
    width: 120px;
    height: 170px;
  }
  .quick-contact-dock--right {
    top: auto;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    transform: translateX(110%);
    gap: 5px;
    padding-right: env(safe-area-inset-right, 0px);
  }
  .quick-contact-dock--right.dock-visible {
    transform: translateX(0);
  }
  .quick-contact-dock--right .quick-contact-btn {
    min-width: 110px;
    padding: 8px 10px !important;
  }
  .quick-contact-dock--right .quick-contact-btn span {
    font-size: 0.68rem;
  }
  .chat-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    width: calc(100vw - 24px - env(safe-area-inset-right, 0px) - env(safe-area-inset-left, 0px));
    max-width: 320px;
  }
  .section-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }
  .portal-section {
    padding: 44px 0;
  }
  .apply-bottom {
    padding: 48px 0;
  }
  .apply-bottom .d-flex,
  .apply-bottom .text-center {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .apply-bottom .hero-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 !important;
    justify-content: center;
  }
  footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .card-3d-tilt:hover {
    transform: none !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-logo {
    height: 42px;
    width: 42px;
  }
  .site-logo--footer {
    height: 48px;
    width: 48px;
  }
  .brand-text strong {
    font-size: 0.88rem;
  }
  .brand-text span {
    font-size: 0.52rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-card {
    padding: 18px 14px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-card--wide {
    grid-column: span 1;
  }
  .country-portal-grid {
    grid-template-columns: 1fr;
  }
  .values-row {
    grid-template-columns: 1fr;
  }
  .success-stories-grid {
    grid-template-columns: 1fr;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .sector-card-img {
    height: 180px;
  }
  .success-story-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px 22px;
  }
  .success-avatar-wrap {
    width: 108px;
    height: 108px;
  }
  .success-location {
    justify-content: center;
  }
  .success-story-content h3 {
    font-size: 1.2rem;
  }
  .hero-portal {
    padding: 24px 0 32px;
  }
  .hero-portal-badge {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
  .hero-portal-countries {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-country-chip {
    justify-content: center;
    font-size: 0.68rem;
  }
  .hero-portal-location {
    width: 100%;
    justify-content: center;
  }
  .apply-panel {
    padding: 22px 18px;
  }
  .featured-card-actions {
    flex-direction: column;
  }
  .featured-btn {
    width: 100%;
    text-align: center;
  }
  .quick-contact-dock--right {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .quick-contact-dock--right .quick-contact-btn {
    min-width: auto;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    justify-content: center;
    border-radius: 10px 0 0 10px;
  }
  .quick-contact-dock--right .quick-contact-btn span {
    display: none;
  }
  .chat-widget {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
    width: auto;
    max-width: calc(100vw - 24px - env(safe-area-inset-right, 0px) - env(safe-area-inset-left, 0px));
  }
  .chat-toggle span:not(.chat-status) {
    display: none;
  }
  .chat-toggle {
    width: auto;
    padding: 12px 16px;
    justify-content: center;
  }
  .destination-reel-card {
    width: 140px;
    min-width: 140px;
  }
  .filter-tab {
    font-size: 0.75rem;
    padding: 8px 14px;
  }
  .course-enquire,
  .country-portal-btn {
    width: 100%;
    justify-content: center;
  }
  .india-cta-card {
    text-align: center;
  }
}

@media (max-width: 380px) {
  .top-info-inner {
    font-size: 0.62rem;
    gap: 5px;
  }
  .top-info-inner a {
    font-size: 0.62rem;
  }
  .top-info-inner span:last-child {
    font-size: 0.58rem;
    line-height: 1.35;
  }
  .hero-portal-content h1 {
    font-size: 1.45rem;
  }
  .hero-apply-panel-header h2 {
    font-size: 1.1rem;
  }
  .navbar-portal .nav-link {
    font-size: 0.68rem;
  }
  .hero-country-chip {
    font-size: 0.62rem;
    padding: 5px 8px;
  }
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-leader-card img {
    width: 100px;
    height: 145px;
  }
}

@media (hover: none), (pointer: coarse) {
  .card-3d-tilt.visible {
    animation: none;
  }
  .card-3d-tilt:hover {
    transform: none !important;
  }
  .process-step:hover,
  .course-card:hover,
  .featured-card:hover,
  .success-story-card:hover,
  .success-apply-btn:hover,
  .sector-card:hover {
    transform: none;
  }
}
