@import url('https://fonts.cdnfonts.com/css/wix-madefor-text');

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: clip;
    background-size: 100% 250%;
    background: none;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.overallbox {
    position: relative;
    top: 10%;
    z-index: 1;
    background-color: rgb(251, 252, 252);
}

.overallbox .pageheader {
    text-align: center;
}

.form-section {
    background-color: transparent;
    border-radius: 16px;
    padding: 32px 0;
    margin: 32px auto;
    width: 60vw;
    min-width: 320px;
    max-width: 700px;
}

.input-group {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    transform: none;
}

.form-control {
    width: 100%;
    left: 0;
    height: 48px;
    min-height: unset;
    background-color: rgb(204, 245, 245);
    border: 1px solid #b3d8f8;
}

.faceAndSubmit {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

#faceoptionbox{
    position: relative;
    width: 100px;
    height: 100%;
    font-size: 12pt;
    left: 20%;
    font-family: 'Wix Madefor Text', sans-serif;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
}

#faceEnhanceLabel {
    position: relative;
    margin-left: 1px;
}

#inputGroupFileAddon04 {
    height: 100%;
    width: 100px;
    margin-top: 0px;
    margin-right: 20%;
    position: relative;
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 12pt;
    font-family: 'Wix Madefor Text', sans-serif;
}

.flashbox {
    left: 50%;
    top: 12%;
    height: 50px;
    position: absolute;
    transform: translate(-50%);
    z-index: 1;
}

.error-img {
    position: relative;
    top: 0px;
    left: 0%;
    height: 100%;
}

.error {
    position: relative;
    top: 0px;
    color: red;
    margin-left: 0%;
    display: inline;
}

#loadingdiv {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 10%;
    display: none;
}

.loading-img {
    position: relative;
    background: none;
    top: 0px;
    left: 0%;
    height: 80%;
}

.loading {
    position: relative;
    top: 0px;
    color: midnightblue;
    left: 0%;
    display: inline;
}

#totalCount {
    position: absolute;
    width: 50%;
    left: 25%;
    top: 100%;
    text-align: center;
}

#countxt {
    animation: color-loop 2s infinite;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

@keyframes color-loop {
    0% { color: navy; }
    50% { color: blue; }
    100% { color: midnightblue; }
}

.success-img {
    position: relative;
    top: 0px;
    left: 0%;
    height: 100%;
}

.success {
    position: relative;
    top: 0px;
    color: mediumseagreen;
    margin-left: 0%;
    display: inline;
}

.pageheader {
    position: relative;
    top: 5%;
    margin-bottom: 5%;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 20vw;
}

.logoimage {
    width: 130px;
    height: 70px;
    position: relative;
}

.container-fullwidth {
    width: 100%;
    position: fixed;
    top: 0px;
    z-index: 2;
    background-color: rgb(232, 255, 252);
}

.navbar-light {
    background-color: rgb(190, 233, 248) !important;
    border: 1px solid darkblue;
}

.navbar-collapse {
    margin-left: 20px;
    font-family: 'Wix Madefor Text', sans-serif;
    font-size: large;
    font-weight: bold;
}

.nav-item {
    margin-right: 20px;
    display: inline;
}

.nav-link {
    color: black;
}

.nav-link,
.active {
    color: black;
}

.nav-link:hover {
    color: darkgray;
}

.sampleimg {
    width: 100%;
    background-color: transparent;
    height: 50vw;
    text-align: center;
    position: relative;
    top: 0;
}

#sampleheader {
    font-size: 1.2em;
    position: relative;
    top: 12.5px;
    font-family: 'Wix Madefor Text', sans-serif;
    font-weight: bold;
}

#aboutdiv {
    width: 100%;
    height: 50%;
    position: relative;
    top: 10px;
    text-align: center;
    display: flex;
    left: 0px;
    background-color: transparent;
    font-family: 'Inter', sans-serif;
}

#aboutpara {
    position: relative;
    top: 20px;
    padding-left: 5%;
    padding-right: 5%;
}

#githubicon {
    position: absolute;
    margin-left: 10%;
    transform: translate(-50%);
    width: 30px;
    margin-top: 12.5%;
}

.low-res-img {
    width: 75% !important;
    margin: 0 auto;
    display: block;
}

.carousel-row-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin-bottom: -50px;
}
.carousel-col {
    position: absolute;
    top: 0;
    width: 325px;
    min-width: 300px;
    max-width: 350px;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
}

.carousel {
    width: 100%;
    max-width: 325px;
    margin: 0 auto;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.carousel-caption {
    position: relative;
    bottom: 12px !important;
    top: unset !important;
    transform: none !important;
    padding-bottom: 10px;
}

.carousel-caption .badge {
    font-size: 1rem;
    padding: 6px 16px;
    border-radius: 8px;
    opacity: 0.95;
}

.main-section {
    background: linear-gradient(to bottom, #a7dcff 95%, rgb(100, 206, 255) 100%);
    margin-top: 90px;
    height: 65%;
}
.demo-section {
    background: linear-gradient(to bottom, rgb(59, 180, 241) 100%) ;
    margin-top: 0px;
    height: 100%;
}
.about-section {
    background: linear-gradient(to top, #a7dcff 90%, rgb(100, 206, 255) 100%);
    height: 35%;
}

.main-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    gap: 32px;
}

.preview-area {
    position: relative;
    margin-left: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
}

.preview-images-row {
    position: relative;
    margin-left: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.preview-img-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preview-img {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 8px;
    background: #fff;
    object-fit: contain;
}

.preview-img-original {
    width: 200px;
    max-width: 90%;
    height: auto;
    opacity: 0.95;
}

.preview-img-enhanced {
    width: 300px;
    max-width: 100%;
    height: auto;
    opacity: 1;
}

.preview-img-col .preview-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.preview-label {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    margin-top: 2px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.download-icon {
    margin-left: 8px;
    color: #007bff;
    font-size: 1.2em;
    vertical-align: middle;
    transition: color 0.2s;
}
.download-icon:hover {
    color: #0056b3;
    text-decoration: none;
}

.comparison-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a4a;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.progress-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    margin: 0 16px;
}

#enhancedProgress {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#enhancedProgress .progress {
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

#enhancedProgress .progress-bar {
    background-color: #007bff;
    transition: width 0.1s ease;
}

.how-it-works-section {
  background: linear-gradient(to bottom, #91fad5 10%, #95ffdd 100%);
  padding: 48px 0 30px 0;
  text-align: center;
  margin-top: 0;
}

.how-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  letter-spacing: 1px;
}

.how-steps {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.how-step {
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px 18px 18px 18px;
  width: 240px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-icon {
  background: #ffd166;
  color: #222;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.how-step-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #222;
  letter-spacing: 0.5px;
}

.how-step-desc {
  font-size: 0.98rem;
  color: #333;
  margin-bottom: 0;
}

.how-read-more {
  display: inline-block;
  margin-top: 18px;
  background: #ffd166;
  color: #222;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.08rem;
  transition: background 0.2s;
}
.how-read-more:hover {
  background: #ffb700;
  color: #222;
}

.section-divider {
  height: 20px;
  width: 100%;
  background: linear-gradient(to bottom, rgb(100, 206, 255) 30%, #91fad5 100%);
  filter: blur(2px);
  opacity: 0.85;
  margin-bottom: -20px;
  z-index: 1;
  position: relative;
} 