body {
  font-family: Arial, sans-serif;
  margin: 0;
  color: #333;
  background-color: #f9f9f9;
}

.navbar {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between; /* pushes nav-links to the right */
  align-items: center;
  padding: 15px 30px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  display: inline-flex;         /* Align icon and text horizontally */
  align-items: center;          /* Vertically center both */
  text-decoration: none;
  color: #333;
  font-weight: bold;
  line-height: 1;               /* Normalize vertical spacing */
  height: 100%;                 /* Ensure consistent height */
}

.nav-icon {
  height: 20px;
  width: auto;
  margin-right: 6px;
  display: inline-block;
}

.overview-icon {
  height: 1em;
  margin-right: 6px;
  vertical-align: middle;
}


.nav-icon {
  height: 40px;
  width: auto;
  vertical-align: middle;
  margin-right: 6px;
}

.hero {
  background: linear-gradient(to left, #0052cc, #2cf89c);
  color: white;
  padding: 10px 10px;
  text-align: center;
  min-height: 120px; /* Ensures a minimum height */
  max-height: 240px; /* Ensures a minimum height */

}

.iris-header {
  display: flex;
  align-items: center;
  justify-content: center; /* ✅ Centers the entire block horizontally */
  gap: 12px;
  margin-bottom: 10px;
  text-align: center; /* ✅ Ensures heading text stays centered */
}

.iris-logo {
  height: 48px;
  width: auto;
}


.cta-button {
  background-color: #ffffff;
  color: #0052cc;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  margin-top: 20px;
  display: inline-block;
}

section {
  padding: 40px 20px;
  max-width: 800px;
  margin: auto;
}

.section-icon {
  padding: 40px 20px;
  max-width: 100px;
  margin: auto;
}

footer {
  background-color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

.logo-img {
  height: 48px; /* Increased from 24px */
  width: auto;
  vertical-align: middle;
  margin-right: 8px;
}

.iris-float-img {
  float: left; /* or right */
  width: 300px; /* adjust as needed */
  height: auto;
  margin: 0 20px 20px 0; /* space around image */
  border-radius: 4px; /* optional styling */
}


.feature-block {
  display: flex;
  align-items: flex-start; /* ✅ Aligns image and text to the top */
  justify-content: flex-start;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 40px;
}

.feature-text {
  display: block;           /* ✅ Ensure normal block flow */
  flex: 1;
  padding: 10px;
  min-width: 300px;
  max-width: 600px;
  margin-top: 0;            /* ✅ Prevent vertical offset */
  text-align: left; 
}


.feature-block.left {
  flex-direction: row;
   padding: 0; /* ✅ Removes any internal padding */
}

.feature-block.right {
  flex-direction: row-reverse;
  padding: 0; /* ✅ Removes any internal padding */
     text-align: left;
}

.feature-block img {
  width: 450px;
  height: auto;
  border-radius: 8px;
  margin: 0; 
}


.feature-text h3 {
  padding: 0;
  margin: 0;
}


@media (max-width: 600px) {
  .feature-block {
    flex-direction: column !important;
    text-align: center;
  }

  .feature-block img {
    margin-bottom: 20px;
  }
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.expandable-img {
  border: 2px solid #ccc; /* Light gray border */
  border-radius: 8px;     /* Optional: matches existing rounded corners */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle depth */
}

.expandable-img:hover {
  border-color: #007fff;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

.overview-icon-inline {
  height: 40px !important;         /* ✅ Force exact height */
  width: auto !important;          /* ✅ Prevent stretching */
  max-height: 40px !important;     /* ✅ Cap height */
  vertical-align: middle;
 margin-left: 4px;               /* ✅ Indent from left edge */
  margin-right: 8px;              /* ✅ Space between icon and text */
  vertical-align: middle;         /* ✅ Align with text baseline */
  object-fit: contain;            /* ✅ Prevent distortion */
}




.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin-bottom: 1em;
  padding-left: 0;
  line-height: 1.4;
 
}

/* Original icon classes */
.icon-gear::before {
  content: "⚙️";
}

.icon-mail::before {
  content: "📩";
}

.icon-search::before {
  content: "🔍";
}

/* New icon classes */
.icon-registry::before {
  content: "🧾";
}

.icon-attach::before {
  content: "📎";
}

.icon-circle::before {
  content: "🔗";
}

.icon-careplan::before {
  content: "📋";
}

/* Icon classes for document handling */
.icon-docs::before {
  content: "📄";
}

.icon-preview::before {
  content: "🔍";
}

.icon-upload::before {
  content: "📤";
}

.card-stack {
  position: relative;
  width: 10px;
  height: 10px; /* Adjust based on image height */
  margin-top: 12px;
}

.card-layer {
  position: absolute;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

/* Layer offsets */
.layer-2 {
  top: 60px;
  left: 60px;
  z-index: 1;
  opacity: 0.4;
}

.layer-1 {
  top: 60px;
  left: 60px;
  z-index: 2;
  opacity: 0.6;
}

.top-layer {
  position: relative;
  z-index: 3;
}

section.about,
section.contact {
  margin-top: 0px;   /* Reduce from default or larger value */
  margin-bottom: 0px;
}

section.about p,
section.contact p {
  margin-bottom: 0px; /* Optional: tighten paragraph spacing */
}

.cta-button {
  margin-bottom: 0;
  display: inline-block;
}

.product .cta-button {
  margin-bottom: 0;
}

section.about {
  padding-top: 0;
  margin-top: -10px; /* Pulls it closer to the previous section */
}


.small-img {
  width: 240px !important;
  height: auto !important;
  margin-left: 50px !important;   /* ✅ This shifts the image to the right */
  vertical-align: middle;
  cursor: pointer;
}

.company-logo-inline {
  height: 2em;               /* Matches text height */
  vertical-align: middle;    /* Aligns with text baseline */
  margin-right: 8px;         /* Adds spacing between image and text */
}

.compatibility-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.compatibility-table th,
.compatibility-table td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: center;
}

.compatibility-table th {
  background-color: #f5f5f5;
}

.support-matrix {
  margin-top: 0;
  padding-top: 0;
}

.support-matrix h3 {
  margin-top: 0;
  padding-top: 0;
  font-size: 1.5rem;
}