/* ===================================================
   R Star Global – Custom Stylesheet
   Bootstrap 5 | Design for Safety & Visual Inspection
   Singapore
=================================================== */

:root {
  --primary:   #0d2d5e;   /* Deep Navy */
  --secondary: #2eb85c;   /* Green */
  --accent:    #1a6fb5;   /* Bright Blue */
  --light-bg:  #f4f7fb;
  --text-dark: #1e2330;
  --text-muted:#6c757d;
  --white:     #ffffff;
  --border:    #dee2e6;
  --gradient:  linear-gradient(135deg, #0d2d5e 0%, #1a6fb5 100%);
  --gradient-gold: linear-gradient(135deg, #1d9448 0%, #2eb85c 100%);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--secondary); }

p { font-size: 1.2rem; }

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

/* ── Utility Colors ── */
.text-primary-custom { color: var(--primary) !important; }
.text-gold           { color: var(--secondary) !important; }
.bg-primary-custom   { background: var(--primary) !important; }
.bg-gradient-custom  { background: var(--gradient) !important; }
.bg-light-custom     { background: var(--light-bg) !important; }
.border-gold         { border-color: var(--secondary) !important; }

/* ── Section Spacing ── */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

/* ── Section Heading ── */
.section-heading { margin-bottom: 55px; }
.section-heading .pre-title {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 16px;
}
.section-heading p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 620px;
}
.section-heading.text-center p { margin-left: auto; margin-right: auto; }
.divider-gold {
  width: 56px; height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 16px 0 0;
}
.text-center .divider-gold { margin: 16px auto 0; }

/* ── Buttons ── */
.btn-primary-custom {
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: opacity .25s, transform .2s;
  display: inline-block;
}
.btn-primary-custom:hover {
  color: var(--white);
  opacity: .88;
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--primary);
  border: none;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity .25s, transform .2s;
  display: inline-block;
}
.btn-gold:hover {
  color: var(--primary);
  opacity: .88;
  transform: translateY(-2px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
  padding: 11px 30px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .25s;
  display: inline-block;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* ══════════════════════════════════
   TOP BAR
══════════════════════════════════ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,.8);
  font-size: 0.82rem;
  padding: 7px 0;
  border-bottom: 2px solid var(--secondary);
}
.top-bar a { color: rgba(255,255,255,.8); }
.top-bar a:hover { color: var(--secondary); }
.top-bar i { color: var(--secondary); }

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
.navbar-main {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(13,45,94,.1);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: background .3s, box-shadow .3s;
}
.navbar-main.scrolled {
  background: var(--white);
  box-shadow: 0 4px 30px rgba(13,45,94,.18);
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  padding: 14px 0;
  gap: 12px;
}
.brand-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.brand-text .brand-name em {
  font-style: normal;
  color: var(--secondary);
}
.brand-text .brand-tagline {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar-main .nav-link {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 26px 18px !important;
  letter-spacing: 0.08em;
  position: relative;
  text-transform: uppercase;
  transition: color .2s, transform .2s;
}
.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transition: transform .25s;
  border-radius: 2px 2px 0 0;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--primary);
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
  transform: scaleX(1);
}
.navbar-main .btn-nav-cta {
  background: var(--gradient);
  color: var(--white) !important;
  border-radius: 4px;
  padding: 10px 22px !important;
  font-size: 0.85rem;
  margin: 18px 0 18px 8px;
}
.navbar-main .btn-nav-cta::after { display: none; }
.navbar-main .btn-nav-cta:hover { opacity: .88; }

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--gradient);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/bg1.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(46,184,92,.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(46,184,92,.2);
  border: 1px solid rgba(46,184,92,.4);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 span { color: var(--secondary); }
.hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.82);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-card-float {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  padding: 28px;
  color: var(--white);
}
.hero-card-float .icon-wrap {
  width: 52px; height: 52px;
  background: var(--gradient-gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
  color: var(--primary);
}
.hero-card-float h5 { color: var(--white); font-size: 1rem; margin-bottom: 6px; }
.hero-card-float p  { color: rgba(255,255,255,.7); font-size: 1.2rem; margin: 0; }
.hero-badge-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--secondary);
  color: var(--primary);
  padding: 14px 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 8px 24px rgba(46,184,92,.4);
  line-height: 1.3;
}

/* ══════════════════════════════════
   TRUST STRIP
══════════════════════════════════ */
.trust-strip {
  background: var(--primary);
  padding: 20px 0;
}
.trust-strip .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 0.88rem;
  font-weight: 500;
}
.trust-strip .trust-item i {
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════
   ABOUT / INTRO
══════════════════════════════════ */
.about-img-wrap {
  position: relative;
}
.about-img-wrap .img-main {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  height: 420px;
  background: linear-gradient(135deg, #1a6fb5 0%, #0d2d5e 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-placeholder {
  width: 100%; height: 420px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  color: rgba(255,255,255,.5);
  font-size: 4rem;
}
.about-img-placeholder span {
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}
.about-badge-overlap {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(13,45,94,.15);
  text-align: center;
  min-width: 150px;
}
.about-badge-overlap .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.about-badge-overlap .num span { color: var(--secondary); }
.about-badge-overlap .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 1.2rem;
  color: var(--text-dark);
}
.check-list li i {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ══════════════════════════════════
   SERVICE CARDS
══════════════════════════════════ */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  height: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13,45,94,.12);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  background: var(--light-bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.service-card:hover .service-icon {
  background: var(--gradient);
  color: var(--white);
}
.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary);
}
.service-card p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 18px;
  transition: gap .2s;
}
.service-card:hover .learn-more { gap: 10px; }

/* ══════════════════════════════════
   WHY CHOOSE US
══════════════════════════════════ */
.why-us { background: var(--gradient); }
.why-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
  height: 100%;
  transition: background .3s, transform .3s;
}
.why-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.why-card .why-icon {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}
.why-card h5 { color: var(--white); font-size: 1rem; margin-bottom: 10px; }
.why-card p  { color: rgba(255,255,255,.7); font-size: 1.2rem; margin: 0; }

/* ══════════════════════════════════
   CTA BAND
══════════════════════════════════ */
.cta-band {
  background: var(--light-bg);
  border-top: 4px solid var(--secondary);
  padding: 70px 0;
}
.cta-band h2 { color: var(--primary); font-size: clamp(1.5rem,3vw,2.1rem); }
.cta-band p  { color: var(--text-muted); font-size: 1.2rem; max-width: 540px; margin: 0 auto 28px; }

/* ══════════════════════════════════
   PARTNERS STRIP
══════════════════════════════════ */
.partners-strip { background: var(--white); }
.partner-logo-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 28px;
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .3s, opacity .3s, box-shadow .3s;
}
.partner-logo-box:hover {
  filter: grayscale(0);
  opacity: 1;
  box-shadow: 0 4px 16px rgba(13,45,94,.08);
}
.partner-logo-box span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.contact-info-card {
  background: var(--gradient);
  border-radius: 12px;
  padding: 40px 36px;
  height: 100%;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail .icon {
  width: 42px; height: 42px;
  background: rgba(46,184,92,.2);
  border: 1px solid rgba(46,184,92,.4);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-detail .info { color: rgba(255,255,255,.85); font-size: 1.2rem; line-height: 1.55; }
.contact-detail .info strong { color: var(--white); display: block; margin-bottom: 2px; }
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(13,45,94,.08);
}
.contact-form-card .form-control,
.contact-form-card .form-select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 1.2rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,181,.12);
}
.contact-form-card label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

/* ══════════════════════════════════
   INNER PAGE HERO (sub-pages)
══════════════════════════════════ */
.page-hero {
  background: var(--gradient);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  position: relative;
}
.page-hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.2rem;
  max-width: 600px;
  position: relative;
}
.page-hero .breadcrumb {
  position: relative;
  background: rgba(255,255,255,.08);
  border-radius: 100px;
  padding: 8px 18px;
  display: inline-flex;
}
.page-hero .breadcrumb-item { color: rgba(255,255,255,.7); font-size: 0.82rem; }
.page-hero .breadcrumb-item a { color: var(--secondary); }
.page-hero .breadcrumb-item.active { color: var(--white); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ══════════════════════════════════
   PROCESS / STEPS
══════════════════════════════════ */
.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-body h5 { color: var(--primary); margin-bottom: 6px; }
.step-body p  { color: var(--text-muted); font-size: 1.2rem; margin: 0; }

/* ── Process flow cards ─────────────────────────────── */
.process-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.process-step-card {
  flex: 1 1 160px;
  max-width: 210px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 36px 18px 24px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}
.process-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.process-icon {
  font-size: 2rem;
  color: var(--gold);
  margin: 4px 0 12px;
  flex-shrink: 0;
}
.process-step-card h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
  flex-shrink: 0;
}
.process-step-card p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
  display: flex;
  align-items: center;
}
.process-arrow {
  display: flex;
  align-items: center;
  align-self: center;
  padding: 0 6px;
  color: var(--gold);
  font-size: 1.4rem;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .process-arrow { display: none; }
  .process-step-card { max-width: 100%; flex: 1 1 calc(50% - 16px); }
}
@media (max-width: 480px) {
  .process-step-card { max-width: 100%; flex: 1 1 100%; }
}

/* ── Visual Inspection Coverage items ──────────────── */
.vi-coverage-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.vi-coverage-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.vi-num {
  min-width: 32px;
  height: 32px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  flex-shrink: 0;
}
.vi-text {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.45;
  padding-top: 5px;
}

/* ── VI full-width inspection image ────────────────── */
.vi-photo {
  width: 100%;
  object-fit: cover;
}

/* ── VI photo collage ───────────────────────────────── */
.vi-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 100%;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
}
.vi-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.vi-collage img:hover { transform: scale(1.04); }
.vi-collage-wrap {
  overflow: hidden;
  border-radius: 8px;
}

/* ══════════════════════════════════
   TEAM / PARTNER CARDS
══════════════════════════════════ */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13,45,94,.12);
}
.team-card-img {
  height: 200px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,.3);
}
.team-card-body { padding: 24px; }
.team-card-body h5 { color: var(--primary); margin-bottom: 4px; font-size: 1rem; }
.team-card-body .role {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.team-card-body p { font-size: 1.2rem; color: var(--text-muted); margin: 0; }

/* ══════════════════════════════════
   ACCORDION
══════════════════════════════════ */
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  background: var(--light-bg);
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(10);
}
.faq-accordion .accordion-body {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-brand .brand-name {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
}
.footer-brand .brand-name em { font-style: normal; color: var(--secondary); }
.footer-brand p {
  font-size: 1rem;
  margin-top: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
}
.footer h6 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: color .2s, padding-left .2s;
  display: inline-block;
}
.footer-links a:hover { color: var(--secondary); padding-left: 6px; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px;
  font-size: 1rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-item i { color: var(--secondary); flex-shrink: 0; margin-top: 3px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 0.9rem;
  transition: background .2s, color .2s;
}
.social-btn:hover {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--secondary);
}
.footer-bottom {
  background: rgba(0,0,0,.2);
  margin-top: 50px;
  padding: 18px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--secondary); }
.footer-divider {
  border-color: rgba(255,255,255,.1);
  margin: 0;
}

/* ══════════════════════════════════
   BACK TO TOP
══════════════════════════════════ */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  display: none;
  align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(46,184,92,.4);
  transition: transform .2s;
}
#back-to-top:hover { transform: translateY(-3px); }
#back-to-top.show { display: flex; }

/* ══════════════════════════════════
   ASSOCIATE REGISTRATION FORM
══════════════════════════════════ */
.register-card {
  border-color: var(--border, #dee2e6) !important;
  border-radius: 8px;
}
.register-card-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}
.register-card-subtitle {
  font-size: .9rem;
}
.captcha-img {
  height: 40px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.captcha-input {
  letter-spacing: 2px;
}
.btn-register {
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  border-radius: 4px;
  letter-spacing: .5px;
}
.btn-register:hover {
  background: var(--primary-dark, #0d2137);
  color: #fff;
}

/* ══════════════════════════════════
   RESPONSIVE TWEAKS
══════════════════════════════════ */
@media (max-width: 991.98px) {
  .navbar-main .nav-link { padding: 12px 16px !important; }
  .navbar-main .nav-link::after { display: none; }
  .navbar-main .btn-nav-cta { margin: 8px 16px; }
  .hero { min-height: 0; padding: 80px 0 60px; }
  .hero-stats { gap: 20px; }
  .about-badge-overlap { position: static; margin-top: 20px; display: inline-block; }
  .section-pad { padding: 60px 0; }
}
@media (max-width: 575.98px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .contact-info-card, .contact-form-card { padding: 28px 20px; }
  .top-bar .d-flex { flex-direction: column; gap: 4px; }
}
