/* Accent strip + dark navbar */
.top-accent { height: 6px; background: #e67e22; }
.navbar-hero { background:#0f2a3a; }
.navbar-hero .nav-link, .navbar-hero .navbar-brand { color: rgba(255,255,255,.9); }
.navbar-hero .nav-link:hover, .navbar-hero .nav-link.active { color:#fff; }

/* Layout helpers */
body { padding-top: 4.25rem; }
.hero { background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,0)); padding: 5rem 0 3rem; }
.hero h1 { font-weight: 700; }
.metric { font-size: 2rem; font-weight: 700; color:#0d6efd; }
.section-title { margin-top: 2.75rem; margin-bottom: 1.25rem; }
.card { border: none; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.card:hover { transform: translateY(-2px); transition: .15s ease; }
.site-footer { border-top: 1px solid rgba(0,0,0,.06); }

/* Print tweaks */
@media print { .navbar, .btn { display:none !important; } body { padding-top:0; } a::after{content:" (" attr(href) ")";} }

/* Photo frame border for dashboard images */
.feature-card .card-img-top {
  border: 8px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  border-radius: 4px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Ensure card containers don't have overflow issues */
.feature-card {
  overflow: hidden;
}

/* Alternative dashboard frame wrapper (if needed) */
.dashboard-frame {
  border: 6px solid #f8f9fa;
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.05);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.dashboard-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  border-radius: 0;
}

/* Alternative: Set specific aspect ratio container (backup option) */
.dashboard-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 12/7;
  border: 8px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.15), inset 0 0 0 1px rgba(0,0,0,.1);
  border-radius: 4px;
  overflow: hidden;
}

.dashboard-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/* Enhanced hover effect for framed images */
.feature-card:hover .card-img-top {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .feature-card .card-img-top {
    border-width: 4px;
  }
  
  .dashboard-frame {
    border-width: 3px;
  }
  
  .dashboard-image-container {
    border-width: 4px;
  }
}

/* Keep Featured images the same height */
.img-frame{
  position: relative;
  aspect-ratio: 12 / 7;          /* 1200×700 = 12:7; use 16/9 if you prefer */
  border: 8px solid #fff;
  border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  overflow: hidden;               /* clip corners + crop overflow */
}

.img-frame > img.card-img-top{
  width: 100%;
  height: 100%;                   /* fill the frame’s height */
  object-fit: cover;              /* crop to preserve ratio, no stretching */
  border: 0 !important;
  box-shadow: none !important;
}

/* (Optional) slightly taller frame on narrow screens */
@media (max-width: 991.98px){
  .img-frame{ aspect-ratio: 16 / 10; }
}

.device-frame{
  aspect-ratio: 9 / 20;            /* true to your screenshot */
  height: clamp(480px, 62vh, 640px);
  border: 10px solid #111;
  border-bottom-width: 14px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  overflow: hidden;
  margin-inline: auto;
  background: #f5f7fb;             /* fills any letterboxing cleanly */
}
.device-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;              /* keep full screen visible */
  display: block;
}
