/* ==========================================================
   SINGAWA GROUP - Premium Executive Corporate B2B Styling
   Colors: Executive Deep Navy (#0A192F, #0F172A), Warm Champagne Gold (#C5A059, #B88E1C),
   Crisp Architectural White (#FFFFFF), Modern Slate (#334155, #64748B, #F8FAFC)
   Typography: Modern Geometric (Outfit + Plus Jakarta Sans + Noto Sans JP)
   ========================================================== */

:root {
  --navy-primary: #0B1B3D;
  --navy-dark: #070F24;
  --navy-light: #122852;
  --navy-card: #0E2046;
  --navy-slate: #1E293B;
  
  --gold-primary: #C5A059;
  --gold-dark: #A27B31;
  --gold-hover: #B88E1C;
  --gold-light: #FBF6EB;
  --gold-subtle: rgba(197, 160, 89, 0.12);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #E6C875 50%, #B88E1C 100%);
  
  --white-clean: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-subtle: #94A3B8;
  
  --border-subtle: #E2E8F0;
  --border-card: #CBD5E1;
  --border-dark: rgba(197, 160, 89, 0.25);
  
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-japanese: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--white-clean);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .brand-font {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy-primary);
}

/* Custom Text & Background Classes */
.text-navy { color: var(--navy-primary) !important; }
.bg-navy { background-color: var(--navy-primary) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-navy-light { background-color: var(--navy-light) !important; }
.bg-navy-card { background-color: var(--navy-card) !important; }

.text-gold { color: var(--gold-primary) !important; }
.text-gold-dark { color: var(--gold-dark) !important; }
.bg-gold { background-color: var(--gold-primary) !important; }
.bg-gold-subtle { background-color: var(--gold-subtle) !important; }
.border-gold { border-color: var(--gold-primary) !important; }
.border-gold-subtle { border-color: rgba(197, 160, 89, 0.25) !important; }

/* Section Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-subtle);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

@media (max-width: 768px) {
  .section-title { font-size: 1.65rem; }
}

.section-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #070F24 !important;
  font-weight: 700;
  border: none;
  padding: 11px 26px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.35);
}

.btn-outline-gold {
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary) !important;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: var(--radius-md);
  background: transparent;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #070F24 !important;
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-outline-navy {
  border: 1.5px solid #CBD5E1;
  color: var(--navy-primary);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
  background: #FFFFFF;
}

.btn-outline-navy:hover, .btn-outline-navy.active {
  background: var(--navy-primary);
  color: #FFFFFF !important;
  border-color: var(--navy-primary);
}

/* Top Notification Bar (Dark Luxury) */
.top-legal-bar {
  background: var(--navy-dark);
  color: #E2E8F0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

/* Navbar - Clean White Corporate Styling */
.navbar-custom {
  background: #FFFFFF !important;
  box-shadow: 0 4px 20px rgba(10, 25, 47, 0.05);
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s ease;
  padding: 12px 0;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 9px 0;
  box-shadow: 0 6px 24px rgba(10, 25, 47, 0.08);
}

.navbar-brand .brand-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  color: var(--navy-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.nav-link-custom {
  color: #1E293B !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 14px !important;
  transition: all 0.2s ease;
  border-radius: 6px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: #B88E1C !important;
  background: rgba(212, 175, 55, 0.08);
}

/* Top Reading Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold-gradient);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
}

/* Floating Back to Top Button (Placed Directly Above WhatsApp Button) */
.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  right: 35px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1040;
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35);
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--gold-gradient);
  color: var(--navy-dark);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.45);
}

/* Hero Section (DARK SECTION 1) with Ambient Radial Glow */
.hero-section {
  position: relative;
  padding: 55px 0 65px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
              radial-gradient(circle at 15% 75%, rgba(15, 34, 64, 0.6) 0%, transparent 65%),
              linear-gradient(180deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  color: #FFFFFF;
  overflow: hidden;
}

/* Scroll-Driven Reveal Micro-Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Delays for Grid Cards */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Interactive Elevated Hover Styles */
.dark-luxury-card,
.corporate-card,
.triangle-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.dark-luxury-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.6) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(212, 175, 55, 0.15) !important;
}

.corporate-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary) !important;
  box-shadow: 0 16px 32px rgba(10, 25, 47, 0.12), 0 0 15px rgba(212, 175, 55, 0.12) !important;
}

.triangle-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary) !important;
  box-shadow: 0 12px 28px rgba(10, 25, 47, 0.1) !important;
}

.service-icon-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.dark-luxury-card:hover .service-icon-box,
.corporate-card:hover .service-icon-box {
  transform: scale(1.1);
  background: var(--gold-gradient);
  color: var(--navy-dark);
}

.hero-slider-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  transform: none !important;
  transition: all 0.3s ease;
}

.hero-slider-img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--gold-primary);
  opacity: 0.5;
  margin: 0 4px;
}

.carousel-indicators .active {
  opacity: 1;
  width: 24px;
  border-radius: 5px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 16px;
  color: #FFFFFF !important;
}

.hero-title span {
  color: #FFFFFF !important;
}

.hero-title span.text-gold,
.hero-title .text-gold,
.hero-title span.text-gold-gradient {
  color: var(--gold-primary) !important;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #CBD5E1 !important;
  max-width: 620px;
  line-height: 1.6;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Force crisp white heading on all dark backgrounds */
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6,
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4, .bg-navy h5, .bg-navy h6,
.bg-navy-dark h1, .bg-navy-dark h2, .bg-navy-dark h3, .bg-navy-dark h4, .bg-navy-dark h5, .bg-navy-dark h6,
.dark-luxury-card h1, .dark-luxury-card h2, .dark-luxury-card h3, .dark-luxury-card h4, .dark-luxury-card h5, .dark-luxury-card h6 {
  color: #FFFFFF !important;
}

/* Section Header Typography */
.section-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Alternating Card Styles */
.corporate-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.corporate-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-primary);
}

/* Dark Luxury Card (for dark sections) */
.dark-luxury-card {
  background: var(--navy-card);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  color: #FFFFFF;
}

.dark-luxury-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.15);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.corporate-card:hover .service-icon-box,
.dark-luxury-card:hover .service-icon-box {
  background: var(--gold-primary);
  color: var(--navy-dark);
  transform: scale(1.08);
}

/* Triangle Cards (Segitiga Bahagia) */
.triangle-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.triangle-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Floating WhatsApp Action */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

/* Global Dark Section & Footer Links - Pure Crisp White */
footer a,
.footer-link,
.hover-gold,
.bg-navy-dark a:not(.btn),
.bg-navy a:not(.btn),
.bg-navy-card a:not(.btn),
.bg-navy-light a:not(.btn),
.dark-luxury-card a:not(.btn) {
  color: #FFFFFF !important;
  text-decoration: none;
  transition: all 0.25s ease;
}

footer a:hover,
.footer-link:hover,
.hover-gold:hover,
.bg-navy-dark a:not(.btn):hover,
.bg-navy a:not(.btn):hover,
.bg-navy-card a:not(.btn):hover,
.bg-navy-light a:not(.btn):hover,
.dark-luxury-card a:not(.btn):hover {
  color: var(--gold-primary) !important;
}

.text-light-subtle {
  color: #CBD5E1 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-title { font-size: 2.3rem; }
  .hero-section { padding: 40px 0 50px; }
  .section-title { font-size: 1.85rem; }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.85rem; }
  .hero-section { padding: 30px 0 45px; }
  .hero-subtitle { font-size: 0.96rem; }
  .floating-whatsapp { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 26px; }
  .back-to-top-btn { bottom: 82px; right: 24px; width: 44px; height: 44px; font-size: 0.9rem; }
}
