/* HERO ANIMATION CSS */


/* Container establishing the layout boundary */
.hero-laptop-container {
  position: relative;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
}

/* Screen overlay bounded exactly inside the frame window dimensions */
.laptop-screen-overlay {
  position: absolute;
  top: 18%;
  /* Fits snugly within typical laptop bezel ratios */
  left: 20%;
  /* Adjust percentages if using a custom png wide frame */
  width: 60%;
  height: 60%;
  background-color: #1e1e1e;
  /* VS Code style dark theme */
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
  font-family: 'Courier New', Courier, monospace;
  display: flex;
  flex-direction: column;
}

/* Terminal Window Header Bar */
.terminal-header {
  background-color: #323232;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-header .dot.red {
  background-color: #ff5f56;
}

.terminal-header .dot.yellow {
  background-color: #ffbd2e;
}

.terminal-header .dot.green {
  background-color: #27c93f;
}

.terminal-title {
  color: #aaa;
  font-size: 11px;
  margin-left: auto;
  margin-right: auto;
}

/* Code Output Terminal Body */
.terminal-body {
  padding: 12px;
  color: #f8f8f2;
  font-size: 13px;
  line-height: 1.5;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Typing Core Setup */
.typing-line {
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  display: block;
}

.typing-line span {
  display: inline-block;
}

/* Highlight styles matching typical coding scripts */
.code-1 {
  color: #ff79c6;
}

/* Import statements */
.code-2 {
  color: #50fa7b;
}

/* Class definitions */
.code-3 {
  color: #8be9fd;
}

/* Function structures */
.code-4,
.code-5 {
  color: #f1fa8c;
}

/* Assert operations */
.code-6 {
  color: #50fa7b;
  font-weight: bold;
}

/* Success outputs */

/* Animation Sequencer Timings - Set to loop infinitely */
.code-1 {
  animation: typeLine1 14s infinite;
}

.code-2 {
  animation: typeLine2 14s infinite;
}

.code-3 {
  animation: typeLine3 14s infinite;
}

.code-4 {
  animation: typeLine4 14s infinite;
}

.code-5 {
  animation: typeLine5 14s infinite;
}

.code-6 {
  animation: typeLine6 14s infinite, blinkCursor 0.6s step-end infinite alternate;
  border-right: 2px solid #50fa7b;
}

/* Synchronized Keyframes (Total duration: 14 seconds)
   Each line handles its typing window, stays at 100% width, 
   then drops back to 0% at the end for the reset pause.
*/

/* Line 1: Types from 0s to 1.5s */
@keyframes typeLine1 {
  0% {
    width: 0;
  }

  10% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
  }
}

/* Line 2: Types from 1.5s to 3.5s */
@keyframes typeLine2 {

  0%,
  10% {
    width: 0;
  }

  25% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
  }
}

/* Line 3: Types from 3.5s to 5.5s */
@keyframes typeLine3 {

  0%,
  25% {
    width: 0;
  }

  40% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
  }
}

/* Line 4: Types from 5.5s to 7.5s */
@keyframes typeLine4 {

  0%,
  40% {
    width: 0;
  }

  55% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
  }
}

/* Line 5: Types from 7.5s to 9.5s */
@keyframes typeLine5 {

  0%,
  55% {
    width: 0;
  }

  70% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
  }
}

/* Line 6: Types from 9.5s to 11s. Stays visible until 12.5s, then fades out */
@keyframes typeLine6 {

  0%,
  70% {
    width: 0;
    border-right-color: transparent;
  }

  71% {
    border-right-color: #50fa7b;
  }

  82% {
    width: 100%;
  }

  90% {
    width: 100%;
  }

  95%,
  100% {
    width: 0;
    border-right-color: transparent;
  }
}

/* Standard Terminal Cursor Blink */
@keyframes blinkCursor {
  from {
    border-right-color: transparent;
  }

  to {
    border-right-color: #50fa7b;
  }
}

/* Responsive adjustment scaling for small media viewports */
@media (max-width: 576px) {
  .terminal-body {
    font-size: 8px;
    padding: 4px;
  }

  .terminal-header {
    padding: 3px 6px;
  }

  .terminal-header .dot {
    width: 5px;
    height: 5px;
  }
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: 20px;
  /* Adjust based on image composition */
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 320px;
  z-index: 2;
  animation: float-badge 3s ease-in-out infinite;
}

.badge-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.badge-text strong {
  display: block;
  font-size: 16px;
  color: #222;
  line-height: 1.2;
}

.badge-text span {
  color: #008631;
  /* Green accent */
  font-weight: 600;
  font-size: 14px;
}

@keyframes float-badge {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}


/* PAGE CSS */


@media only screen and (max-width: 992px) {

  /* Styles for everything smaller than a desktop */
  .hero .hero-image-container {
    /* border-radius: 32px; */
    overflow: hidden;
    background-color: #800020;
    /* padding: 0px 0px 30px 30px; */
    height: 100%;
    width: 60%;
    margin-left: 0px !important;
  }

  .hero h1 {
    margin-top: 32px !important;
  }

  .hero p {
    /* color: #800020; */
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
  }
}

@media only screen and (max-width: 768px) {

  .hero .hero-image-container {
    /* border-radius: 32px; */
    overflow: hidden;
    background-color: #800020;
    /* padding: 0px 0px 30px 30px; */
    height: 100%;
    width: 100%;
    margin-left: 0px !important;
  }

}

.hero {
  height: 100% !important;
  min-height: 420px;
}

.hero .hero-image-container {
  /* border-radius: 32px; */
  overflow: hidden;
  background-color: #800020;
  /* padding: 0px 0px 30px 30px; */
  height: 100%;
  margin-left: 20px;
}

.hero .hero-image-container img {
  width: 100%;
  height: 100%;
  /* border-radius: 20px; */
  object-fit: cover;
}

.hero h1 span {
  color: #800020;
}

.hero h2 {
  margin-bottom: 20px !important;
  /* color: #008631 !important; */
}

.hero p {
  /* color: #800020; */
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 16px;
}

.qa-services .icon-box ul {
  text-align: left;
  padding-left: 20px;
  font-size: 14px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.qa-services .icon-box ul li {
  margin-bottom: 8px;
  color: #444444;
}

.qa-services .icon-box:hover ul li {
  margin-bottom: 8px;
  color: #fff;
}

.qa-services .icon-box:hover ul li i {
  color: #fff !important;
}

.qa-services .icon-box:hover strong {
  color: #fff;
}

.qa-services .icon-box .description {
  color: #111;
}

.qa-services .icon-box:hover .qa-icon .description {
  color: #fff;
}

.qa-services .icon-box .qa-icon {
  width: 60px !important;
  height: 60px !important;
  margin-bottom: 12px;
  /* background-color: #f6bd38; */
  /* padding: 12px !important; */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 100%;
}

.qa-services .icon-box:hover .qa-icon {
  background-color: #fff;
}

.qa-services .icon-box .qa-icon img {
  height: 46px;
  width: 46px;
  object-fit: contain;
}


#cta-qa {
  margin: 80px 0px;
  padding: 80px 0px;
  background-image:
    linear-gradient(#2b6331d3, #2b6331d3),
    url('../img/cta.jpg.jpeg');
  background-position: center center;
  background-size: cover;
  color: #fff;
}

#cta-qa p {
  margin-bottom: 6px !important;
  font-size: 1.2em;
}


/* QA-Service-Inquiry CSS */

.cta {
  /* Using a green gradient similar to the doc/image vibe */
  background: linear-gradient(rgba(128, 0, 32, 0.9), rgba(128, 0, 32, 0.9)), url('Dashboard.png') fixed center center no-repeat;
  background-size: cover;
  padding: 80px 0;
  color: #fff;
  text-align: center;
}

.cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 15px 40px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #008631E6; /* iPath Red */
  border: 2px solid #800020;
  text-decoration: none;
}

.cta-btn:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
/* --- Embedded Audit/CTA Section Overhaul --- */
.cta-embedded {
  background: linear-gradient(rgba(128, 0, 32, 0.9), rgba(128, 0, 32, 0.9)), url('Dashboard.png') fixed center center no-repeat;
  position: relative;
  overflow: hidden;
}

.cta-benefits-list li i {
  font-size: 1.15rem;
}

.opacity-90 {
  opacity: 0.90;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/* Premium Form Card container styles */
.audit-card {
  background: #ffffff;
  min-height: 480px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* Custom interactive steps choices buttons */
.option-item-custom {
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.option-item-custom:hover {
  background-color: #f1f3f5;
  border-color: #ced4da;
  color: #212529;
}

/* Active State Styles logic applied via JS actions hooks */
.option-item-custom.selected {
  background-color: rgba(25, 135, 84, 0.04) !important;
  border-color: #198754 !important;
  color: #198754 !important;
}

.option-item-custom.selected .indicator-icon::before {
  content: "\f26b" !important; /* Bootstrap Icons check filled/radio active */
  font-family: "bootstrap-icons" !important;
}

#step2 .option-item-custom.selected .indicator-icon::before {
  content: "\f2c3" !important; /* Bootstrap Icons check box square checked fill */
  font-family: "bootstrap-icons" !important;
}

/* Form inputs normalization override mapping components */
.custom-input-field {
  background-color: #f8f9fa !important;
  border: 2px solid #e9ecef !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 0.95rem !important;
  color: #212529 !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.custom-input-field:focus {
  background-color: #ffffff !important;
  border-color: #198754 !important;
  box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.15) !important;
  outline: 0;
}

/* Button Styling */
.btn-primary {
  background-color: #008631;
  border-color: #008631;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #800020;
  border-color: #006e28;
}

.btn-secondary {
    border-color: #008631;
  font-weight: 500;
   background-color: #008631;
}

.btn-secondary:hover {
  background-color: #800020;
  border-color: #006e28;
}


/* Layout utilities and helpers configuration presets */
.py-2-5 {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.transition-all {
  transition: all 0.3s ease;
}

.transition-fade {
  animation: fadeInStep 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
