/* ========================================
   KiMiNi Medical Theme
   ======================================== */

:root {
  --primary: #2C7BE5;
  --dark: #1F4E79;
  --accent: #38C088;
  --background: #F8FAFC;
  --text: #2B2B2B;
  --muted: #6C757D;
  --white: #FFFFFF;
}

/* ========================================
   Base
   ======================================== */

body {
  background-color: var(--background);
  color: var(--text);
}

section {
  background-color: var(--background);
}

a {
  color: var(--primary);
}

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

.section-heading {
  color: var(--dark);
}

.section-subheading {
  color: var(--muted);
}

/* ========================================
   Navigation
   ======================================== */

.navbar-default .navbar-nav > .active > a {
  background-color: var(--primary);
}

.navbar-default .navbar-nav > li > a:hover {
  color: var(--accent);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--dark);
  border-color: var(--dark);
}

/* ========================================
   Services / Problem Section Icons
   ======================================== */

/* blue circle */
#services .fa-circle {
  color: var(--primary) !important;
}

/* white icon */
#services .fa-inverse {
  color: var(--white) !important;
}

/* ========================================
   Partners Section
   ======================================== */

#partners {
  padding: 60px 0 80px;
}

#partners .partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
}

#partners .partner-logo {
  width: 220px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,0.45);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

#partners .partner-logo:hover {
  transform: translateY(-2px);
}

#partners .partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

#partners .partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

#partners .partner-logo img[src*="ntu"] {
  max-height: 52px;
}

/* ========================================
   Contact Section
   ======================================== */

#contact .section-subheading,
#contact p,
#contact .text-muted {
  color: var(--white) !important;
  opacity: 0.9;
}
/* ========================================
   Brand / Hero / Timeline overrides
   ======================================== */

/* Navbar brand text */
.navbar-default .navbar-brand {
  color: var(--primary) !important;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: var(--accent) !important;
}

/* Hero button */
.btn-xl,
.btn-xl:visited {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--white) !important;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active {
  background-color: #2FA574 !important;
  border-color: #2FA574 !important;
  color: var(--white) !important;
}

/* Active nav item */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

/* Only final timeline CTA circle */
.timeline > li .timeline-image.timeline-cta {
  background-color: var(--accent);
  border-color: #E9EEF5;
  color: var(--white);
}
/* ========================================
   Social / LinkedIn button
   ======================================== */

ul.social-buttons li a {
  background-color: #2B2B2B;
  transition: all 0.3s ease;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus {
  background-color: var(--primary) !important;
}
/* Navbar logo */

.navbar-logo {
  height: 44px;
  width: auto;
  display: block;

  opacity: 0.95;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
  filter: brightness(0) saturate(100%) invert(47%) sepia(92%)
          saturate(1314%) hue-rotate(190deg) brightness(95%) contrast(92%);
}
.navbar-brand {
  padding: 10px 15px;
}
/* Navbar active menu color */

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
  background-color: var(--primary);
  color: white !important;
}
.navbar-default .navbar-nav > li > a:hover {
  color: var(--primary);
}
/* ========================================
   Hero Background - Video
   ======================================== */

header {
  position: relative;
  overflow: hidden;
  background: none !important;
  min-height: 100vh;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* overlay */
header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 25, 40, 0.42) 0%,
    rgba(15, 25, 40, 0.24) 38%,
    rgba(15, 25, 40, 0.14) 65%,
    rgba(15, 25, 40, 0.08) 100%
  );
  z-index: 1;
}

/* content layer */
header .container {
  position: relative;
  z-index: 2;
}

@keyframes heroKenBurns {
  0% {
    transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale3d(1.03, 1.03, 1) translate3d(-0.8%, -0.4%, 0);
  }
}

/* hero text positioning */
/* ========================================
   HERO TEXT REFINEMENT
   ======================================== */

header .intro-text {
  text-align: left;
  max-width: 820px;
  margin-left: 5%;
}

/* eyebrow */
header .intro-lead-in {
  color: #2BB673;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: 16px !important;
  white-space: nowrap;
}

/* headline */
header .intro-heading {
  color: #FFFFFF;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  max-width: 800px;
  margin-bottom: 16px !important;
}

/* subheadline */
header .intro-subheading {
  color: rgba(255,255,255,0.92);
  font-size: 19px;
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 32px;
}

/* CTA alignment */
header .btn {
  margin-left: 0;
}

#team .team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 30px;
}

#team .team-item {
  float: none;
  display: inline-block;
  max-width: 340px;
}

#team .team-member {
  margin-bottom: 30px;
}

/* Hero CTA color */

header .btn-xl {
  background-color: #38C088 !important;
  border-color: #38C088 !important;
}

header .btn-xl:hover {
  background-color: #2FA574 !important;
  border-color: #2FA574 !important;
}

/* Applications section title */

#applications .section-heading {
  color: #38C088 !important;
}

/* Applications card titles */

#applications .service-heading {
  color: #1F4E79;
  font-weight: 600;
}

/* Applications description */

#applications p {
  color: #6C757D;
  font-size: 15px;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* Applications section spacing */

#applications .section-heading {
  margin-bottom: 16px;
}

#applications .section-subheading {
  margin-bottom: 36px;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

#applications img {
  margin-bottom: 22px;
}

#applications .service-heading {
  margin-bottom: 12px;
}

#applications .service-heading {
  margin-bottom: 12px;
}

#applications img {
  width: 160px;
  height: 160px;
  margin-bottom: 42px !important;
  object-fit: cover;
}

#team .section-subheading {
  margin-bottom: 22px !important;
}

#team .team-grid {
  margin-top: 0 !important;
}

#team .large.text-muted {
  margin-top: 14px;
  margin-bottom: 0;
}

#team {
  padding-bottom: 55px !important;
}

