/* ============================================================
   VISIONARY CONSULTANCY SERVICES — Global Stylesheet
   Font: Poppins | Colors: Blue #1a3f7a | Gold #f5c300 | Red #c0392b
   ============================================================ */

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

:root {
  --blue:       #1a3f7a;
  --blue-dark:  #0f2650;
  --blue-light: #2356a8;
  --gold:       #f5c300;
  --gold-hover: #e0b000;
  --red:        #c0392b;
  --red-hover:  #a93226;
  --white:      #ffffff;
  --off-white:  #f5f7fb;
  --text:       #1a1a2e;
  --text-mid:   #4a5270;
  --text-light: #8a94b0;
  --border:     #e0e6f0;
  --shadow-sm:  0 2px 12px rgba(26,63,122,0.09);
  --shadow-md:  0 8px 32px rgba(26,63,122,0.14);
  --shadow-lg:  0 20px 60px rgba(26,63,122,0.2);
  --radius:     10px;
  --radius-lg:  18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; font-size: 15px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }


.nav-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem; font-weight: 500;
  padding: 8px 5%;
  display: flex; align-items: center; justify-content: space-between;
}
.top-bar-left { display: flex; align-items: center; gap: 24px; }
.top-bar-left a { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.85); transition: color 0.2s; }
.top-bar-left a:hover { color: var(--gold); }
.top-bar-left a svg { width: 14px; height: 14px; fill: var(--gold); flex-shrink: 0; }
.top-bar-right { display: flex; align-items: center; gap: 18px; }
.top-bar-right a { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.8); transition: color 0.2s; font-size: 0.78rem; }
.top-bar-right a:hover { color: var(--gold); }
.top-bar-right a svg { width: 16px; height: 16px; fill: currentColor; }
.btn-topbar {
  background: var(--gold); color: var(--blue-dark) !important;
  font-weight: 700; font-size: 0.78rem;
  padding: 7px 18px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background 0.25s, transform 0.2s;
}
.btn-topbar:hover { background: var(--gold-hover); transform: translateY(-1px); }

/* ── MAIN NAV ── */
.main-nav {
  position: sticky; top: 0; z-index: 999;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.main-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 52px; width: auto; }
.nav-logo-text .brand { font-size: 1.1rem; font-weight: 800; color: var(--blue); letter-spacing: 0.01em; line-height: 1.1; }
.nav-logo-text .sub { font-size: 0.65rem; font-weight: 600; color: var(--text-mid); letter-spacing: 0.07em; text-transform: uppercase; }
.nav-logo-text .tagline { font-size: 0.58rem; font-weight: 500; color: var(--text-light); letter-spacing: 0.05em; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 6px 14px; font-size: 0.85rem; font-weight: 500; color: var(--text-mid);
  border-radius: 6px; transition: color 0.2s, background 0.2s;
  position: relative; white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); }
.nav-menu a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 14px; right: 14px; height: 2px;
  background: var(--red); border-radius: 2px;
}

.btn-nav-apply {
  background: var(--red); color: var(--white) !important;
  padding: 10px 22px !important; border-radius: 8px;
  font-weight: 700 !important; font-size: 0.85rem !important;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s !important;
}
.btn-nav-apply:hover { background: var(--red-hover) !important; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(192,57,43,0.3) !important; }
.btn-nav-apply::after { display: none !important; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.9rem; padding: 13px 28px; border-radius: 8px; border: none; cursor: pointer; transition: transform 0.22s, box-shadow 0.22s, background 0.22s; text-decoration: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--blue-dark); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 8px 24px rgba(245,195,0,0.4); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-hover); box-shadow: 0 8px 24px rgba(192,57,43,0.35); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-dark); box-shadow: 0 8px 24px rgba(26,63,122,0.35); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ── SECTION COMMON ── */
.section { padding: 80px 5%; }
.section-sm { padding: 56px 5%; }
.section-bg { background: var(--off-white); }
.section-blue { background: var(--blue-dark); }
.section-gold { background: var(--gold); }
.section-red { background: var(--red); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.section-label.gold { color: var(--gold); }
.section-h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--blue-dark); line-height: 1.2; margin-bottom: 14px; }
.section-h2 span { color: var(--gold); }
.section-h2.white { color: var(--white); }
.section-desc { font-size: 0.93rem; color: var(--text-mid); line-height: 1.8; max-width: 600px; }
.section-desc.white { color: rgba(255,255,255,0.72); }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

.underline-red {
  display: inline-block; position: relative; padding-bottom: 6px;
}
.underline-red::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--red); border-radius: 2px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-dark);
  padding: 32px 5%;
  display: flex; align-items: center; justify-content: space-around;
  flex-wrap: wrap; gap: 24px;
}
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon { width: 48px; height: 48px; opacity: 0.9; flex-shrink: 0; }
.stat-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.stat-text .num { font-size: 1.7rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-text .lbl { font-size: 0.77rem; color: rgba(255,255,255,0.6); margin-top: 3px; font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.12); }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }

.card-icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px; flex-shrink: 0;
}
.icon-blue { background: var(--blue); }
.icon-red { background: var(--red); }
.icon-gold { background: var(--gold); }
.icon-dark { background: var(--blue-dark); }

/* ── GRID LAYOUTS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── FOOTER ── */
.footer {
  background: var(--blue-dark);
  padding: 60px 5% 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.footer-brand .logo-sub { font-size: 0.7rem; color: var(--gold); font-weight: 600; letter-spacing: 0.08em; }
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-top: 14px; max-width: 280px; }
.footer-brand .social-links { display: flex; gap: 12px; margin-top: 20px; }
.footer-brand .social-links a {
  width: 36px; height: 36px; background: rgba(255,255,255,0.08);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.footer-brand .social-links a:hover { background: var(--gold); color: var(--blue-dark); }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--white); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.6); transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col ul li a::before { content: '›'; color: var(--gold); font-size: 1rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-contact-item span.ic { color: var(--gold); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item p { font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(110deg, var(--blue-dark) 0%, var(--blue) 60%, #1e5ca8 100%);
  padding: 72px 5% 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 50px solid rgba(245,195,0,0.1);
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { font-size: 0.78rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.breadcrumb .current { color: var(--gold); font-size: 0.78rem; font-weight: 600; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 580px; line-height: 1.75; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ── TICKER ── */
.ticker-wrap { background: var(--gold); padding: 14px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: 14px; padding: 0 28px; font-size: 0.8rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.ticker-dot { color: var(--red); font-size: 1.1rem; }

/* ── HAMBURGER (mobile) ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: all 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 16px; box-shadow: var(--shadow-md); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 16px; border-radius: 8px; }
  .hamburger { display: flex; }
  .top-bar { display: none; }
  .stats-bar { justify-content: center; }
  .stat-divider { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .section { padding: 56px 4%; }
}
