:root {
  --polosys-navy: #000c26;
  --polosys-blue: #00609b;
  --polosys-ochre: #a96f18;
  --polosys-purple: #822981;
  --polosys-white: #ffffff;
  --polosys-light-gray: #f8f8f8;
  --polosys-font: 'Inter', 'Segoe UI', Roboto, sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glow-blue: #00d2ff;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--polosys-font) !important;
  background-color: var(--polosys-white);
  color: var(--polosys-navy);
  line-height: 1.6;
}

/* --- Header & Navigation (Synced with Index) --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 25px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On desktop, we hide logo and nav-links in scrolled state for a compact toolbar view */
@media (min-width: 1025px) {
  .main-header.scrolled .logo,
  .main-header.scrolled .nav-links {
    display: none !important;
  }
  
  .main-header.scrolled .header-container {
    justify-content: flex-end !important;
  }
  
  .main-header.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    padding: 15px 40px !important;
    transition: all 0.3s ease;
  }
}

/* On mobile, we ALWAYS want a complete navbar (Logo + Right Tools) */
@media (max-width: 1024px) {
  .main-header.scrolled {
    background: white !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
    padding: 10px 0 !important;
  }

  .main-header.scrolled .logo {
    display: block !important;
  }

  .main-header.scrolled .logo img {
    height: 35px !important;
  }

  .main-header.scrolled .header-container {
    justify-content: space-between !important;
  }
}


.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo img {
  height: 45px;
  transition: height 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--polosys-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.4s ease;
}

.nav-links li a:hover {
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--polosys-navy) !important;
  min-width: 260px;
  padding: 20px 0;
  display: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  border-top: 3px solid var(--polosys-blue);
  list-style: none;
}

.nav-links li:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  color: white !important;
  padding: 12px 25px;
  font-size: 13px !important;
  text-transform: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: block;
}

.dropdown-menu li a:hover {
  background: var(--polosys-blue) !important;
}

.SMALLTitle {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 11px !important;
  text-transform: none;
  display: block;
  margin-top: 4px;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 25px;
}

.tool-icon {
  color: var(--polosys-white);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.4s ease;
}

.hamburger {
  width: 28px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--polosys-white);
  transition: all 0.3s ease;
}

/* Language Switcher */
.lang-switcher {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-right: 15px;
}

.lang-switch {
  color: var(--polosys-white) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.4s ease;
}

.lang-switch:hover {
  opacity: 0.7;
}

.lang-switcher span {
  color: var(--polosys-white);
  opacity: 0.3;
}

/* Intelligent Icon Flip for Light Sections / Scrolled State */
.main-header.scrolled .tool-icon,
.main-header.scrolled .lang-switch,
.main-header.scrolled .lang-switcher span,
.main-header.over-light-section .tool-icon,
.main-header.over-light-section .lang-switch,
.main-header.over-light-section .nav-links li a,
.main-header.over-light-section .lang-switcher span {
  color: var(--polosys-navy) !important;
}

.main-header.scrolled .hamburger span,
.main-header.over-light-section .hamburger span {
  background: var(--polosys-navy) !important;
}

/* --- Inner Hero / Banner --- */
.about-hero {
  height: 40vh;
  background: url('../images/About us banner.jpg');
  background-size: cover;
  background-position: center;
  padding-top: 80px;
}

.section-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Luxury Narrative Section (Unified Layout) --- */
.about-section {
  padding: 100px 0;
  background-color: #ffffff;
  position: relative;
}

.narrative-terminal {
  margin-bottom: 100px;
}

.narrative-tag {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--polosys-blue);
  font-weight: 700;
  margin-bottom: 20px;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 60px;
  align-items: center;
}

.narrative-title {
  font-size: 3.8rem !important;
  font-weight: 800 !important;
  color: var(--polosys-navy) !important;
  line-height: 1.05 !important;
  margin-bottom: 30px !important;
  letter-spacing: -2.5px;
}

.narrative-title .highlight {
  color: var(--polosys-blue);
}

.narrative-lead {
  font-size: 1.4rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 700px;
}

/* Stat Bubbles */
.narrative-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-bubble {
  background: #f8fafc;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.stat-bubble:hover {
  border-color: var(--polosys-blue);
  transform: scale(1.02);
}

.stat-bubble .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--polosys-navy);
  line-height: 1;
}

.stat-bubble .lbl {
  font-size: 14px;
  color: var(--polosys-blue);
  font-weight: 600;
  margin-top: 5px;
}

/* Vision Mission (Tiles Layout) */
.vision-mission-tiles {
  margin-bottom: 80px;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.vision-card, .mission-card {
  background: #ffffff;
  padding: 50px;
  border-radius: 32px;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.vision-card:hover, .mission-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px -20px rgba(0, 12, 38, 0.1);
  border-color: #e2e8f0;
}

.luxury-icon-box {
  width: 70px;
  height: 70px;
  background: #eff6ff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--polosys-blue);
  font-size: 28px;
}

.card-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--polosys-navy);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.card-content p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.8;
}

.detailed-text {
  max-width: 900px;
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.9;
  border-left: 3px solid var(--polosys-blue);
  padding-left: 40px;
}

/* --- Engagement Hub (Synced) --- */
.engagement_hub {
  padding: 120px 0;
  background: linear-gradient(135deg, #0b132b, #1c2541, #3a506b);
  color: white;
}

.video-terminal {
  max-width: 1000px;
  margin: 0 auto;
  background: #1e293b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.terminal_header {
  background: #334155;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.terminal_dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal_dot.red { background: #ff5f56; }
.terminal_dot.yellow { background: #ffbd2e; }
.terminal_dot.green { background: #27c93f; }

/* --- Modern Compact Footer --- */
.footer {
  background: #000a1f; /* Deeper midnight background */
  padding: 60px 0 30px;
  color: white;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Logo in white for footer */
  opacity: 0.9;
}

.brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--polosys-blue);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--polosys-blue);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.country-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.3);
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Sidebar Menu (Synced) --- */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -350px;
  width: 350px;
  height: 100%;
  background: white;
  z-index: 2000;
  padding: 40px;
  box-shadow: -10px 0 50px rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}

.sidebar-menu.active {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,12,38,0.8);
  backdrop-filter: blur(5px);
  z-index: 1500;
  display: none;
}

.sidebar-close {
  font-size: 40px;
  cursor: pointer;
  margin-bottom: 40px;
  color: var(--polosys-navy);
}

.sidebar-logo {
  height: 40px;
  margin-bottom: 50px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
}

.sidebar-links > li {
  margin-bottom: 25px;
}

.sidebar-links > li > a {
  text-decoration: none;
  color: var(--polosys-navy);
  font-size: 20px;
  font-weight: 700;
  display: block;
}

.side-sub-links {
  list-style: none;
  padding: 15px 0 0 20px;
  display: none;
}

.side-sub-links li {
  margin-bottom: 12px;
}

.side-sub-links li a {
  text-decoration: none;
  color: #64748b;
  font-size: 16px;
}

body.no-scroll {
  overflow: hidden;
}

/* --- Multi-Device Responsiveness --- */
@media (max-width: 1200px) {
  .narrative-title { font-size: 3rem !important; }
}

@media (max-width: 1024px) {
  .desktop-nav { display: none !important; }
  .section-wrapper { padding: 0 20px; }
  .narrative-grid { grid-template-columns: 1fr; gap: 40px; }
  .vision-mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-hero { height: 35vh; }
  .narrative-title { font-size: 2.5rem !important; letter-spacing: -1px; }
  .stat-bubble .num { font-size: 28px; }
  .vision-card, .mission-card { padding: 30px; }
  .card-content h3 { font-size: 24px; }
  .detailed-text { padding-left: 20px; font-size: 1.05rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .narrative-stats { flex-direction: column; }
  .stat-bubble { padding: 20px; }
  .about-hero { height: 30vh; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
