@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@500&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
}

.horizontal-bottom-bar {
    position: absolute;
    width: 100%;
    height: 70px;
    background-color: #CAE3E1;
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 5;
}

.educator-text {
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(15px, 4vw, 65px);
    margin-top: 80px;
    left: 24%;
    transform: translateX(-50%);
    color: #14C4B2;
    position: absolute;
}

.bold-educator {
    font-weight: bold;
    font-size: clamp(20px, 4vw, 80px);
}

.educator-icon {
    width: 95px;
    height: 95px;
    position: absolute;
    right: 21%;
    top: 14%;
}

.integrity-text {
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(15px, 5vw, 60px);
    white-space: nowrap;
    margin-top: 160px;
    left: 29%;
    transform: translateX(-50%);
    color: #14C4B2;
    margin-bottom: 40px;
    position: absolute;
    line-height: 2;
}

.student-bold-text{
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    font-size: clamp(15px, 5vw, 60px);
    white-space: nowrap;
    margin-top: 250px;
    left: 34%;
    transform: translateX(-50%);
    color: #14C4B2;
    margin-bottom: 40px;
    position: absolute;
    line-height: 2;
}

.bold-student {
    font-weight: bold;
    font-size: 70px;
    font-size: clamp(20px, 5vw, 75px);

}


.head-check {
    width: 95px;
    height: 95px;
    position: absolute;
    left: 88%;
    top: 25%;
}

.sparkle-1 {
    width: 29px;
    height: 29px;
    position: absolute;
    top: 13%;
    right:27%;
}

.sparkle-2 {
    width: 29px;
    height: 29px;
    position: absolute;
    top: 27.5%;
    left: 10%;
}

.sparkle-3 {
    width: 29px;
    height: 29px;
    position: absolute;
    top: 31%;
    left: 13%;
}

.menu-bar {
    position: absolute;
    top: 27px;
    left: 200px;
    width: calc(100% - 200px);
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    color: #358c83;
    background-color: transparent;
    z-index: 10;
}

.menu-bar a {
    text-decoration: none;
    color: #39968D;
    font-weight: 500;
}

.menu-right {
    margin-left: auto;
    display: flex;
    gap: 20px;
    margin-right: 25px;
}

.menu-right a {
    text-decoration: none;
    color: #39968D;
    font-family: "Ubuntu", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .menu-bar {
        font-size: 15px;
        padding: 0 16px;
        height: 60px;
    }
    .menu-bar span.menu-right {
        font-size: 15px;
        margin-left: 16px;
    }
}

@media (max-width: 600px) {
    .menu-bar {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 8px 8px;
        font-size: 14px;
    }
    .menu-bar span.menu-right {
        margin-left: 0;
        margin-top: 4px;
        font-size: 14px;
    }
}

.horizontal-top-bar {
    width: 100vw;
    height: 35px;
    background-color: #248B81;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.toolbar-spacer {
    height: 70px;
}

@media (max-width: 900px) {
    .toolbar-spacer {
        height: 60px;
    }
}

@media (max-width: 600px) {
    .toolbar-spacer {
        height: 80px;
    }
}

.caviair-logo {
    width: 150px;
    position: absolute;
    top: 57px;
    left: 20px;
    z-index: 15;
}

.image-cluster{
    overflow-x: auto;
}

.teacher-image{
    position: absolute;
    width:500px;
    height: 350px;
    left: 60%;
    top: 210px;
    z-index: 1;
    border: 3px solid #70ADA9; 
    border-radius: 20px;


}

.background-box-1 {
    padding: 27px;
    background-color: #248B81;
    border-radius: 10px;
    width: 520px;
    position: absolute;
    top: 510px;
    left: 45%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: "Ubuntu", sans-serif;
    color: white;
    font-weight: 400;
    font-size: 21px;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0px;
}


.caviair-box {
    position: absolute;
    top: 47%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 200px;
    background-color: #B8D1CE;
    border: 3px solid #248B81;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    align-items: flex-start;
    margin-bottom: 0px;
}

.images-section {
    position: absolute;
    width: 450px;
    height: 350px;
    top: 850px;
    left: 50%;
    transform: translateX(-45%);
}


.demo-image-1 {
    position: absolute;
    width: 250px;
    top: 60px;
    left: 0;
    z-index: 2;
}

.demo-image-2 {
    position: absolute;
    width: 250px;
    top: 150px;
    left: 100px;
    z-index: 3;
}

.word {
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A5B56;
    text-align: left;
    line-height: 1.2;
    margin: 1px 0;
}

.word.classroom {
    font-size: 15px;
    font-weight: 700;
    margin-left: 0px;
}

.word.ai {
    font-size: 16px;
    font-weight: 800;
    margin-left: 20px;
}

.word.validation {
    font-size: 15px;
    font-weight: 700;
    margin-left: 40px;
}

.word.integrated {
    font-size: 14px;
    font-weight: 600;
    margin-left: 60px;
}

.word.academic {
    font-size: 15px;
    font-weight: 700;
    margin-left: 80px;
}

.word.integrity {
    font-size: 16px;
    font-weight: 800;
    margin-left: 100px;
}

.word.resource {
    font-size: 15px;
    font-weight: 700;
    margin-left: 120px;
}

.word-icon {
    margin-left: 8px;
    vertical-align: middle;
    opacity: 0.9;
}

.ai-icon {
    width: 32px;
    height: 32px;
    margin-left: 8px;
}

.integrated-icon {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: 15px;
    left: 15px;
}

@media (max-width: 768px) {
    .caviair-box {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 20px auto;
        width: 300px;
        height: auto;
        padding: 15px;
    }

    .word.classroom {
        margin-left: 0px;
    }

    .word.ai {
        margin-left: 15px;
    }

    .word.validation {
        margin-left: 30px;
    }

    .word.integrated {
        margin-left: 45px;
    }

    .word.academic {
        margin-left: 60px;
    }

    .word.integrity {
        margin-left: 75px;
    }

    .word.resource {
        margin-left: 90px;
    }

    .educator-icon, .head-check, .sparkle-1, .sparkle-2, .sparkle-3 {
        display: none;
    }

    .background-box-1 {
        width: 90%;
        margin: 20px auto;
        margin-top: 50px;
        position: relative;
        left: auto;
        bottom: auto;
    }

    .educator-text, .integrity-text {
        font-size: 28px;
        padding: 0 20px;
    }
}


.bubble-text{
    position: relative;
    margin-top: 500px;
    margin-left: 45px;
    padding: 5px 16px;
    font-size: 15px;
    font-family: "Ubuntu", sans-serif;
    color:#248B81;
    font-weight: 900;
    border-radius: 999px;
    background-color:#B8D1CE;
}

@media (min-width: 768px) {
  .bubble-text:hover {
    background-color:#e3fefb; 
    box-shadow: 0 0 10px rgba(36, 139, 129, 0.4); 
    cursor: pointer;
  }
}



/* How it Works Section */
.how-it-works-section {
    position: relative;
    background-color: #248B81;
    padding: 80px 0;
    margin-top: 100px;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    z-index: 5;
}

.how-it-works-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.how-it-works-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 60px;
}

.how-it-works-text {
    flex: 1;
    max-width: 600px;
    font-size: 25px;
}

.how-it-works-text h2 {
    margin-left: 35px;
}

.how-it-works-text p {
    font-size: 18px;
    line-height: 1.5;
    color: white;
    margin: 0 0 80px 0;
    margin-top: 40px;
    background-color: #40C4B2; 
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ai-score-tag {
    position: absolute;
    top: -38px;
    right: 35px;
    background-color: white;
    color: #40C4B2;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.demo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: white; 
    position: relative;
    flex-shrink: 0;
    margin: 40px 90px 0 0;
}

.demo-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(#E0F7F5 0% 22%, white 22% 100%);
    border-radius: 50%;
}

.demo-text-box {
    position: absolute;
    bottom: 38px; 
    left: 50%;
    transform: translateX(-50%);
    background-color: #40C4B2;
    color: white;
    padding: 5px 14px;
    border-radius: 20px; 
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.demo-text {
    display: none;
}


.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
    position: relative; 
}

.step-box {
    position: relative;
    background-color: #78CBC3; 
    padding: 25px 20px;
    border-radius: 50px; 
    text-align: center;
    flex: 1;
    color: white;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-arrow {
    position: absolute;
    width: 48px;
    height: 48px;
    z-index: 2;
}

.step-arrow-1 {
    left: 33.3%; 
    top: calc(50% - 40px); 
    transform: translate(-50%, -60%);
}

.step-arrow-2 {
    left: 66.6%; 
    top: calc(50% + 40px); 
    transform: translate(-50%, -40%);
}

@media (max-width: 900px) {
    .step-arrow {
        width: 32px;
        height: 32px;
    }
    .step-arrow-1 {
        top: calc(50% - 24px);
    }
    .step-arrow-2 {
        top: calc(50% + 24px);
    }
}

.book-demo-link {
    display: inline-block;
    background: none;
    color: white;
    padding: 0;
    border: none;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    right: 40px; 
    bottom: 30px; 
    text-decoration: underline; 
}



.key-features-section {
    position: relative;
    background-color: white;
    padding: 100px 0;
    margin-bottom: 600px;
    z-index: 5;
    clear: both;
    height: 100px;

}

.key-features-wrapper {
    position: relative;
    width: 600px; 
    height: 200px; 
    margin: 0 auto;
}

.key-features-text {
    position: absolute;
    top: 100px;
    left: 34%;
    transform: none;
    font-family: 'Ubuntu', sans-serif;
    color: #248B81;
    font-weight: 900;
    font-size: 40px;
    letter-spacing: 1px;
    text-align: center;
    z-index: 15;
    background-color: white;
    padding: 10px 20px;

}

.circle-container-1, .circle-container-2, .circle-container-3,
.circle-container-4, .circle-container-5, .circle-container-6, .circle-container-7{
    position: absolute;
    transform: translateY(290px);   
    width: 200px;
    height: 200px;
    transition: 
        transform 0.90s cubic-bezier(.4,2,.6,1), 
        box-shadow 0.90s cubic-bezier(.4,2,.6,1), 
        z-index 0s 0.45s;
    will-change: transform, box-shadow;
    z-index: 6; 

}

.spacer {
  height: 50px; /* adjust space as needed */
  width: 100%;
}

.circle-container-1 { /*visualized reports*/
    left: -17px;
}

.circle-container-2 { /*canvas integration*/
    top: -160px;
    left: 120px;
}

.circle-container-3 { /*real time insights*/
    top: -160px;
    left: 330px
}

.circle-container-4 { /*protects student privacy*/
    top: 160px;
    left: 100px;
}

.circle-container-5 { /*citation verification*/
    top: 160px;
    left: 320px;
    z-index: 10;
    margin-bottom: 500px;
}

.circle-container-6 { /*automated message workflows*/
    top: 10px;
    left: 420px;
}

.circle-container-7{ /*comprehensive ai detection*/
    top: 10px;
    left: 220px;
    z-index: 8;

}

.circle-1, .circle-2, .circle-3, .circle-4, .circle-5, .circle-6, .circle-7 {
    width: 250px;
    height: 250px;
    background-color: #00897B;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Ubuntu", sans-serif;
    color: white;
    font-size: 22px;
    text-align: center;
    font-weight: 500;
}

.circle-1:hover, .circle-2:hover, .circle-3:hover,
.circle-4:hover, .circle-5:hover, .circle-6:hover, .circle-7:hover {
    transform: scale(1.25);
    z-index: 20;
    box-shadow: 0 16px 48px rgba(36, 139, 129, 0.25), 0 4px 16px rgba(0,0,0,0.10);
}

.highlight-1, .highlight-2, .highlight-3, .highlight-4, .highlight-5, .highlight-6, .highlight-7 {
    position: absolute;
    top: 20px;
    left: 25px;
    width: 70px;
    height: 20px;
    background-color: white; 
    border-radius: 50%;
    transform: rotate(-35deg);
    opacity: 1; 
    z-index: 2;
}

.comprehensive-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.real-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visualized-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.easy-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.citation-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protects-text {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.comprehensive-text, .real-text, .visualized-text,
.easy-text, .citation-text, .protects-text {
    font-family: "Ubuntu", sans-serif;
    font-size: 17px;
    font-weight: 900;
    color: white;
    text-align: center;
    line-height: 1.2;
    z-index: 7;
    position: absolute;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-directory {
    position: relative;
    background-color: #248B81;
    padding: 60px 0 40px 0;
    color: white;
    font-family: 'Ubuntu', sans-serif;
}

.background-box-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #248B81;
    z-index: 1;
}

.info-section {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white; 
}

.footer-column a {
    color: #B8D1CE; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.footer-column a:hover {
    color: white; 
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.caviair-logo-footer {
    width: 120px;
    height: auto;
}

.footer-bottom-center {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
}

.footer-bottom-center a {
    color: #B8D1CE; 
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.footer-bottom-center a:hover {
    color: white; 
}

.footer-bottom-right {
    text-align: right;
    flex: 0 0 auto;
}

.p7 {
    font-size: 12px;
    color: #B8D1CE;
    margin: 0;
}

.group-pic {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block; 
}

.top-section {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    background-color: white; 
}

.search-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 41, 59, 0.45);
  justify-content: center;
  align-items: center; 
  transition: background 0.2s;
}

.search-overlay.active {
  display: flex;
}

.search-modal {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(24px);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
  padding: 0;
  min-width: 420px;
  max-width: 90vw;
  display: flex;
  align-items: center;
  position: relative;
  border: none;
  margin-top: 0;
  height: 60px;
}

.search-input {
  flex: 1;
  font-size: 1.25rem;
  border: none;
  outline: none;
  padding: 18px 24px;
  background: transparent;
  color: #222;
  font-family: 'Ubuntu', sans-serif;
  border-radius: 14px 0 0 14px;
  height: 60px;
}

.close-search {
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  margin-right: 18px;
  margin-left: 0;
  transition: color 0.2s;
  height: 60px;
  display: flex;
  align-items: center;
}

.search-results {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  border-radius: 0 0 14px 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-height: 220px;
  overflow-y: auto;
  z-index: 10000;
  padding: 0;
  margin: 0;
}

.search-result-item {
  padding: 14px 24px;
  cursor: pointer;
  font-size: 1.08rem;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.active {
  background: #e0f7fa;
  color: #007c91;
}

.professor-group{
    position: absolute;
    width: 200px;
    height: 200px;
}

.webpage{
    top: 540px;
    left: 67%;
    position: absolute;
    width: 300px;
    height: 300px;
    z-index: 1;
}

.horizontal-bar{
    width:100%;
    height:2px;
    background-color:#e3e3e3;

}

.mailing-list-section{
    display:flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color:#248b819a;
    width: 100%;
    height: 850px;
}

.professor-group{
    position: relative;
    margin-top: 140px;
    height: 600px;
    width: 750px;
    border-radius: 8px;

}

.mailing-list-box{
    width: 450px;
    height: 470px;
    background-color: #B8D1CE;
    border-radius: 14px;
    margin-left: 200px;
    margin-top: 230px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 400px;
}

.mailing-list-box ul {
    display: flex;
    flex-direction: column;
    gap: 30px;  /* vertical spacing between items */
    padding-left: 0; /* remove default ul padding */
}


.join-text{
    font-size: 35px;
    font-family: 'Ubuntu';
    color: #248B81;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
}

.updates-text{
    font-size: 17px;
    font-family: 'Ubuntu';
    color: #248B81;
    text-align: left;
    margin-left:62px;
    margin-bottom: 20px;
    font-weight: 100px;
}

.general-info-text{
    font-size: 15px;
    font-family: 'Ubuntu';
    color: #248B81;
    text-align: left;
    margin-left: 62px;
    list-style-type: none;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}


.custom-checkbox .checkmark {
  position: relative;
  height: 8px;       /* size of checkbox */
  width: 8px;
  background-color: #fff;
  border: 2px solid #00000066;  /* outline color */
  border-radius: 3px;          /* slightly rounded corners */
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;

}

/* Create the checkmark/ tick */
.custom-checkbox .checkmark::after {
  content: "";
  position: absolute;
  display: none;      /* hidden by default */
  top: -4.5px;
  left: 3px;
  width: 4px;
  height: 10px;
  border: solid #00000066;   /* tick color */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  align-items: center;
}

/* Show the checkmark when checked */
.custom-checkbox input:checked + .checkmark::after {
  display: block;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Ubuntu', sans-serif; /* change font */
  font-size: 14px;                    /* adjust size */
  color: #00000066;                     /* change text color */
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}


a, a:visited, a:hover, a:active {
  text-decoration: none !important;
}

.sign-up-button{
    display: flex;
    width: 115px;
    height: 35px;
    border-radius: 20px;
    border: none;
    background-color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: 15px;
    color: #248B81;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    text-decoration: none;

}

.sign-up-button:hover {
    background-color: #78CBC3;  /* hover effect */
    cursor: pointer;
}

.spacer1{
    width: 100%;
    height: 700px;
}

.info-input{
    border-radius: 4px;
    border-color: #b9b9b9;
    outline: none;
    padding: 4px, 4px,4px;
}

.general-info-text{
    margin-right: 10px;
}
