@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('home.css');
@import url('header.css');
@import url('footer.css');
@import url('contact.css');
@import url('classification.css');
@import url('dashboard.css');
@import url('about.css');
@import url('research.css');
@import url('chatbot.css');
/*general styling*/

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: #141414;
}
h1,
h2,
h3,
h4,
h5,
h6,
a,
button,
ul li,
input,
select {
    font-family: 'Inter', sans-serif;
}
a {
    text-decoration: none;
}
input:focus,
select:focus,
textarea:focus {
    outline: 0;
    /*	box-shadow: none;*/
    /*	border: 0;*/
}
input,
select,
label {
    font-size: 18px;
}
input[type='email'] {
    text-transform: none !important;
}
ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}
ul li {
    color: #98989a;
}
ol {
    padding-left: 15px;
    margin: 0;
}
img {
    max-width: 100%;
    width: auto;
}
input,
select,
textarea {
    text-transform: capitalize;
}
input:placeholder,
select:placeholder,
textarea:placeholder {
    color: #444444;
}
input:focus-visible,
textarea:focus-visible,
input:focus,
textarea:focus,
select:focus-visible,
select:focus {
}
a.button,
a {
    font-size: 18px;
}
p {
    font-size: 18px;
    font-weight: 400;
    color: #7e7e80;
}
h1 {
    font-size: 70px;
    font-weight: 500;
}
h2 {
    font-size: 58px;
    line-height: 75px;
    font-weight: 800;
}
h3 {
    font-size: 40px;
    line-height: 60px;
    font-weight: 600;
}
h4 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
}
h5 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
}
h6 {
    font-size: 20px;
    line-height: 30px;
    color: #7e7e80;
    font-weight: 500;
}
.banner-subheading {
    font-size: 30px;
    line-height: 36px;
    font-weight: 500;
    color: #666666;
    margin-bottom: 30px;
}
.sub-heading {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
}
.background-dark {
    background-color: #191919;
}
.wrapper {
    max-width: 1596px;
    width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}
.title {
    font-size: 70px;
    line-height: 84px;
    margin-bottom: 20px;
}
.headings {
    color: #ffffff;
}
.para {
    color: #7e7e80;
}
.button-green {
    color: #141414;
    background-color: #00bf8b;
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 18px;
    width: 154px;
    transition: 0.3s ease;
}
.button-green:hover {
    background-color: #a16adb;
    color: #ffffff;
    transition: 0.3s ease;
}
.inlin-list {
    display: inline-flex;
    gap: 22px;
}
.cta-btn {
    background-color: #141414;
    border: 1px solid #262626;
    border-radius: 12px;
    transition: 0.3s ease;
    color: #98989a;
    padding: 18px 24px;
    text-transform: capitalize;
    display: inline-block;
}
.cta-btn:hover {
    color: #ffffff;
}
.cta-btn img {
    margin-left: 10px;
    transition: 0.3s ease;
}
.cta-btn:hover img {
    transform: rotate(45deg);
    transition: 0.3s ease;
}
/* Changes*/
/* CTA Section Styles */
.cta-heading {
    color: white;
}

.cta-asterisk-large {
    font-size: 0.2em;
    vertical-align: 2.7em;
    color: inherit;
}

.cta-asterisk-small {
    font-size: 0.8em;
    vertical-align: 0.15em;
    color: inherit;
}

.cta-disclaimer {
    color: #7e7e80;
}

.img-overlap img {
    border-radius: 50%;
    border: 2px solid #fafafa;
}
.img-overlap {
    background-color: #191919;
    border: 1px solid #262626;
    padding: 10px;
    border-radius: 100px;
    max-width: 218px;
    position: relative;
    margin-bottom: 30px;
}
.img-overlap img:nth-child(2) {
    position: absolute;
    right: 95px;
}
.img-overlap img:nth-child(3) {
    position: absolute;
    right: 50px;
}
.img-overlap img:nth-child(4) {
    position: absolute;
    right: 10px;
}
.block-list li {
    margin-bottom: 15px;
}
.block-list li {
    color: #98989a;
}

@media (max-width: 1199px) {
    h1,
    .title {
        font-size: 55px;
        line-height: 70px;
    }
    h2 {
        font-size: 50px;
        line-height: 60px;
    }
    h3 {
        font-size: 33px;
        line-height: 44px;
    }
}

@media (max-width: 991px) {
    h1,
    .title {
        font-size: 44px;
        line-height: 60px;
    }
    h2 {
        font-size: 40px;
        line-height: 52px;
    }
    .wrapper,
    .CTA-sec .wrapper {
        max-width: 780px;
    }
    h3 {
        font-size: 30px;
        line-height: 40px;
    }
}
@media (max-width: 767px) {
    h2 {
        font-size: 36px;
        line-height: 44px;
    }
    .wrapper,
    .CTA-sec .wrapper {
        max-width: 580px;
    }
    h1,
    .title {
        font-size: 36px;
        line-height: 44px;
    }
}
#predictionResult {
    visibility: visible;
}

/* Spinner */

.circular-progress-container {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#5cd460 0%, #f3f3f3 0%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-circle {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-percentage {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.progress-text {
    margin-top: 1rem;
    font-size: 1rem;
    color: #666;
}

.caption-box {
    width: 90%;
    max-width: 700px;
    height: auto;
    border: 1px solid green;
    background-color: black;
    color: white;
    display: flex;
    overflow: auto;
    padding: 1rem;
    margin: 0 auto;
    box-sizing: border-box;
    border-radius: 8px;
    flex-direction: column;
}

@media (max-width: 480px) {
    .caption-box {
        font-size: 14px;
        padding: 0.75rem;
    }
}

.news-blog {
    position: relative;
}

.tns-controls {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 2;
    pointer-events: none;
}

.tns-controls button {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tns-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/*OpenSeaDragon CSS*/

.visual-heading-center {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    margin-left: 0;
    padding-top: 20px;
    text-align: center;
    width: 100%;
}

.visual-interpretation-center {
    display: flex;
    flex-direction: row; /* Ensure horizontal layout */
    justify-content: center; /* Center the two viewers horizontally */
    align-items: flex-start; /* Align tops of the images */
    gap: 24px; /* Space between the two viewers */
    width: 100%;
    flex-wrap: wrap; /* Wrap on smaller screens if needed */
    margin-bottom: 36px;
}

.visual-interpretation-center > div {
    flex: 0 1 auto; /* Prevent divs from shrinking too small */
    max-width: 600px;
}

.opensea-box {
    width: 100%;
    margin: 0 auto 24px auto;
    background: transparent;
    border-radius: 20px;
    padding: 0;
    box-shadow: none;
}

.opensea-box h5 {
    color: #fff;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin-bottom: 24px;
    margin-left: 12px;
}

/*Imaad Changes*/
/* Add changes to highlight glioma detected / not detected keeping font same as para*/

.output-status.glioma-detected {
    color: #ff4d4d; /* red */
}

.output-status.normal {
    color: #00bf8b; /* green */
}

/* Force bullets for interpretation section as well */
ul.interpretation-bullets {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 20px;
}

ul.interpretation-bullets li {
    display: list-item;
    color: #98989a;
    margin-bottom: 10px;
    padding-left: 20px;
}

.navbar-brand .navbar-logo {
    background: transparent;
    width: 150px;
    height: auto;
}

.highlight-text {
    color: white;
}

.manual-link-container {
    margin-top: 10px;
}

.manual-link {
    display: inline-block;
    margin-top: 8px;
}

.manual-icon {
    width: 16px;
    margin-left: 5px;
}

.status-normal {
    color: #00bf8b;
}

.status-or {
    color: #ffffff;
}

.status-astrocytoma,
.status-oligodendroglioma,
.status-gbm {
    color: #ff5a5a;
}

/* Detection Section Styles */
.detection-upload-heading {
    font-size: 20px;
    margin-top: -5px;
}

.detection-module-number {
    line-height: 1.2;
    font-family: Inter, sans-serif;
    font-size: 50px;
}

.detection-module-title {
    display: block;
    font-family: 'Source Serif', serif;
    font-size: 45px;
    line-height: 1.2;
    white-space: nowrap;
}

.uploaded-image-heading {
    color: white;
}

/* Module Slider Text Styles */
.text-white-emphasis {
    color: white;
}

.status-detected {
    color: #ff4d4d;
}

.status-normal {
    color: #00bf8b;
}

.module-description {
    color: #97979a;
}

/*Ashish Update*/
/*Patches and caption css added */
/*heading*/
.ws-region-highlight-section {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto 32px auto;
    padding: 0 24px;
    text-align: center;
}
.ws-region-highlight-title h2 {
    color: #ffffff;
    background-color: #000000;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    margin-top: 20px;
}
.ws-region-highlight-title p {
    color: #7e7e80;
    font-size: 1.19rem;
    max-width: 850px;
    margin: 0 auto 10px auto;
    font-weight: 500;
    line-height: 1.6;
}
/*-------------------------------------css for patches-------------------------------*/
.patch-slider-row {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
    gap: 18px;
    min-height: 75vh;
}

.patch-slider-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 38px;
    background: #fff;
    background-color: black;
    border-radius: 16px;
    padding: 32px 38px;
    max-width: 1350px;
    width: 100%;
}

.patch-arrow {
    background: #00bf8b;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2.1rem;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.patch-arrow:disabled {
    background: #b7c6ea;
    cursor: not-allowed;
}

.patch-image-container {
    width: 420px;
    height: 420px;
    max-width: 95vw;
    max-height: 95vw;
    background: #fafbff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: #f5f5f5;
}

.patch-caption-box {
    flex: 1 1 0;
    background: #000000;
    border-radius: 14px;
    padding: 42px 40px 28px 40px;
    min-width: 300px;
    max-width: 520px;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.caption-heading {
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
}

.patch-caption-text {
    font-size: 1.19rem;
    font-weight: 500;
    color: #7e7e80;
    min-height: 120px;
    margin-bottom: 20px;
    line-height: 1.68;
    letter-spacing: 0.02em;
    white-space: pre-line;
    word-break: break-word;
}

.patch-indicator {
    font-size: 1.07rem;
    color: #868da8;
    margin-top: auto;
    text-align: center;
}

/* Responsive (mobile/tablet) */
@media (max-width: 1100px) {
    .patch-slider-flex {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 20px 8vw;
    }
    .patch-image-container,
    .patch-img {
        width: 92vw;
        height: 92vw;
        max-width: 400px;
        max-height: 400px;
    }
    .patch-caption-box {
        max-width: 96vw;
        padding: 22px 6vw 18px 6vw;
    }
}

#openseadragon2 {
    width: 600px;
    height: 500px;
    display: block;
}

.caption-heading,
.patch-caption-text,
.patch-indicator {
    text-align: center;
}

/* Utility Classes */
.element-hidden {
    display: none;
}

.progress-container-hidden {
    display: none;
}

.flex-one {
    flex: 1;
}

.min-width-300 {
    min-width: 300px;
}

.min-width-110 {
    min-width: 110px;
}

.width-85 {
    width: 85px;
}

.width-150 {
    width: 150px;
}

/* Upload Section Styles */
.upload-section-heading {
    font-size: 20px;
    margin-top: -5px;
}

.title-viviscope {
    line-height: 1.2;
    font-family: Inter, sans-serif;
    font-size: 50px;
}

.subtitle-diagnosis {
    display: block;
    font-family: 'Source Serif', serif;
    font-size: 30px;
    line-height: 1;
    white-space: nowrap;
}

/* Prediction Result Styles */
.prediction-result-red {
    color: red;
}

/* Section Dividers */
.section-divider {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 24px;
}

.section-divider-line {
    height: 4px;
    width: 80px;
    background: #ffffff;
    border-radius: 10px;
    opacity: 0.8;
}

/* Patch Slider Styles */
.patch-image-flex-column {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.patch-image-with-color {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color: black;
}

/* Coordinate Display Styles */
.coordinate-heading {
    margin-top: 4px;
    font-weight: bold;
    color: black;
}

.coordinate-text {
    color: black;
}

/* User Patch Section */
.user-patch-heading {
    font-size: 3rem;
    font-weight: 800;
}

.user-patch-description {
    font-size: 1.1rem;
    max-width: 720px;
    margin: 0 auto 14px;
}

.user-patch-input {
    width: 85px;
}

.user-patch-button {
    min-width: 110px;
}

.user-patch-preview-flex {
    flex: 1;
    min-width: 300px;
}

/* CTA Section */
.cta-heading-white {
    color: white;
}

.cta-disclaimer {
    color: #7e7e80;
}

.cta-sup-small {
    font-size: 0.2em;
    vertical-align: 2.7em;
    color: inherit;
}

.cta-sup-normal {
    font-size: 0.8em;
    vertical-align: 0.15em;
    color: inherit;
}

/* Module Card Styles */
.module-highlight-white {
    color: white;
}

.module-color-red {
    color: #ff4d4d;
}

.module-color-green {
    color: #00bf8b;
}

.module-separator {
    color: #97979a;
}

/* OpenSeadragon Viewer Styles */
.openseadragon-large {
    width: 1100px;
    height: 700px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 18px;
}

.openseadragon-medium {
    width: 600px;
    height: 500px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 18px;
}
