/* ============================================= */
/* ARTICARES — Main Stylesheet                   */
/* Brand Colors: #142D47 (dark blue), #264D77    */
/* Fonts: DM Sans (body), Poppins (headings)     */
/* ============================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { 
  max-width: 100%; 
  height: auto; 
  display: block; 
  border: none;
  outline: none;
}

/* --- Image Frames - NO BORDERS --- */
.img-fluid {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  border: none;
}

.img-fluid.contain {
  object-fit: contain;
  border: none;
}

.img-fluid.cover {
  object-fit: cover;
  border: none;
}

.no-border {
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* --- Hero Slider - FULL IMAGES (NO CUTOFF) --- */
.hero-image-col {
  position: relative;
  height: 500px;
  padding: 10px 0 15px;
  overflow: hidden;
  background: transparent;
  border: none;
}

.hero-slider {
  position: absolute;
  top: 10px; left: 0; right: 0; bottom: 15px;
  border: none;
}

.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border: none;
  background-color: transparent;
}

.slide.active {
  opacity: 1;
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: calc(50% - 45px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: #fff;
  border-color: #264D77;
  transform: scale(1.2);
}

.dot:hover {
  background: #fff;
  transform: scale(1.1);
}

a { color: #264D77; text-decoration: none; transition: color .2s; }
a:hover { color: #142D47; }
ul { list-style: none; }

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all .3s;
  border: 2px solid transparent;
}
.btn-primary {
  background: #264D77;
  color: #fff;
  border-color: #264D77;
}
.btn-primary:hover {
  background: #142D47;
  border-color: #142D47;
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-secondary:hover {
  background: #fff;
  color: #142D47;
  border-color: #fff;
}
.btn-lg { padding: 16px 48px; font-size: 16px; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #eee;
  padding: 13px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
  border: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #333;
}
.main-nav a:hover { color: #264D77; }
.main-nav .btn,
.main-nav .btn-light-text {
  padding: 8px 22px;
  font-size: 14px;
}

.btn-light-text { color: #fff !important; }
.btn-light-text:hover { color: #fff !important; }
.main-nav a.active { color: #264D77; font-weight: 600; }
.main-nav .btn.active { color: #fff !important; }

.mobile-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; }

/* --- Sections --- */
.section {
  padding: 80px 0;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #142D47;
  line-height: 1.3;
  margin-bottom: 24px;
}
.section-title.centered { text-align: center; }
.centered { text-align: center; }

.bg-dark { background: #142D47; }
.bg-dark-blue { background: #142D47; }
.bg-light { background: #f7f8fa; }

.text-accent { color: #4a90d9; }

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col .col {
  background: transparent;
}
.two-col .col p { 
  margin-bottom: 16px; 
  font-size: 16px; 
  color: #555; 
  text-align: justify;
}
.bg-dark .two-col .col p { color: #ccc; }
.bg-dark .section-title { color: #fff; }
.bg-dark-blue .section-title { color: #fff; }
.bg-dark-blue p { color: #ccc; }


/* Contact form + hurry box divider */
.contact-form-hurry .col + .col {
  border-left: 1px solid #e0e4e8;
  padding-left: 40px;
  margin-left: -20px;
}
@media (max-width: 768px) {
  .contact-form-hurry .col + .col {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    padding-top: 40px;
    border-top: 1px solid #e0e4e8;
  }
}
.hero {
  position: relative;
  min-height: 80vh;
  padding-top: 80px;
  background: #142D47;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #142D47 0%, #264D77 100%);
  opacity: 0.8;
  z-index: 0;
}

.hero-content {

/* --- Hero --- */
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding-bottom: 0;
}
/* Centered hero content */
.hero-centered {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.hero-centered .hero-subtitle {
    text-align: center !important;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
  transition: opacity 0.8s ease-in-out;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  transition: opacity 0.8s ease-in-out;
  max-width: 700px;
  margin-bottom: 40px;
  text-align: justify;
}

/* --- Icon Row --- */
.icon-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}
.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.icon-sm { 
  width: 48px; 
  height: 48px; 
  object-fit: contain; 
  border-radius: 0;
  border: none;
}
.icon-item span { font-size: 14px; font-weight: 500; color: #555; }

/* --- Stats --- */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 50px;
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-family: 'Roboto Slab', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* --- Clinical Section --- */
.clinical-section p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  text-align: justify;
}

/* --- CTA --- */
.cta-section { background: #f0f4f8; }

/* --- Footer --- */
.site-footer {
  background: #142D47;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-top: 12px; text-align: center; }
.footer-col:first-child {
  text-align: center;
}
.footer-col:first-child img {
  display: inline-block;
  height: 100px;
  width: auto;
  margin: 0 auto 14px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  border: none;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

/* ============================================= */
/* NEW SECTION STYLES                           */
/* ============================================= */

.centered-content {
  max-width: 900px;
  margin: 0 auto;
}

.centered-content p {
  font-size: 17px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

.bg-dark .centered-content p {
  color: rgba(255,255,255,0.85);
}

.section .stats-row.left-aligned {
  justify-content: flex-start;
  gap: 50px;
  margin-top: 0;
}

.section .stats-row.left-aligned .stat-item {
  text-align: left;
}

.section .stats-row.left-aligned .stat-number {
  color: #264D77;
  font-size: 42px;
}

.section .stats-row.left-aligned .stat-label {
  color: #666;
  font-size: 14px;
}

/* --- Global Text Alignment - Justify --- */
p {
  text-align: justify;
}

.section p {
  text-align: justify;
}

.two-col .col p {
  text-align: justify;
}

.centered-content p {
  text-align: justify;
}

.hero-subtitle {
  text-align: justify;
}

.clinical-section p {
  text-align: justify;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title { font-size: 30px; }
  .two-col { gap: 40px; }
  .stats-row { gap: 50px; }
  .two-col { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-content { grid-template-columns: 1fr; gap: 30px; }
  .slide-indicators { display: flex; justify-content: center; }
  .hero-image-col { height: 300px; }
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 16px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 26px; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .stats-row { flex-direction: column; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .icon-row { gap: 20px; }
  .section .stats-row.left-aligned { flex-direction: column; gap: 20px; }
  .section .stats-row.left-aligned .stat-item { text-align: center; }
  
  .main-nav { display: none; }
  .main-nav.active { 
    display: block; 
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .main-nav.active ul { flex-direction: column; gap: 16px; }
  .mobile-toggle { display: block; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-lg { padding: 14px 32px; }
  .stat-number { font-size: 32px; }
}

/* --- Focus Styles for Accessibility --- */
*:focus-visible {
  outline: 2px solid #264D77;
  outline-offset: 2px;
  border-radius: 2px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #264D77;
  outline-offset: 2px;
}
*:focus:not(:focus-visible) {
  outline: none;
}

/* Object-fit for specific containers - NO BORDERS & FULL IMAGES */
.team-card img,
.press-card img,
.person-photo img {
  object-fit: cover;
  border: none;
  border-radius: 0;
}

/* Hero Images - CONTAIN (show full image without cropping) */
.hero-image-col,
.hero-image-col img {
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
}

.hero-slider .slide {
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.partner-logos img,
.icon-sm {
  object-fit: contain;
  border: none;
  border-radius: 0;
}

.section p {
  max-width: 700px;
  text-align: justify;
}
.two-col .col p {
  max-width: none;
  text-align: justify;
}
.section.centered p {
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.img-fluid.screenshot {
  object-fit: contain;
  background: transparent;
  border: none;
}

/* Remove borders from all images globally */
img {
  border: none !important;
  border-radius: 0 !important;
  outline: none !important;
}
/* Rush Box */
.rush-box {
  background: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}
.rush-box h2 { font-size: 2rem; margin-bottom: 20px; }
.rush-box p { font-size: 1.1rem; margin-bottom: 30px; color: #555; }

