@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

:root{
    --background: #F9F9F7;
    --primary: #00A2FF;
    --secondary: #1e2a44;
    --accent:#fdba74;
    --text:#3f3f3f;
    --washed-primary:#BACFF9;
}
a:hover{
    text-decoration: none;
}
body{
    max-width: 100vw;
    /* overflow: hidden; */
    background-color: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.whole-container{
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.navigation{
    width: 100%;
    padding: 0.5vw 3vw;
}

.navigation-logo{
    width: 8vw;
    max-width: 100px;
}
.navigation-logo img{
    width: 100%;
}
.navigation-title{
    color: var(--secondary);
}
.navigation-item{
    padding: 10px;
    font-size: clamp(12px, 1.4vw, 20px);
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
    font-style: italic;
    transition: 0.1s transform ease-in;
}
.navigation-item:hover{
    text-decoration: none;
    transform: scale(1.05);
    color: unset;
}
.demo-button{
    color: var(--background);
    background-color: var(--secondary);
    padding: 10px 20px;
    border-radius:10px;
    margin-left: 20px;
}
.demo-button:hover{
    color: var(--secondary);
    background-color: var(--background);
    border: 2px solid var(--secondary);
}

.made-by-teachers{
    width: 8vw;
    max-width: 100px;
    animation: shake 10s infinite;
}

@keyframes shake {
    0%,100%{
        transform: rotate(0deg);
    }
    25%{
        transform: rotate(-5deg);
    }
    75%{
        transform: rotate(5deg);
    }
}
.made-by-teachers img{
    width: 100%;
}

.hero-section{
    margin-top: 3vw;
    padding: 2vw;
}

.hero-title{
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    font-style: italic;
}

.sub-heading{
    font-size: clamp(24px, 2vw, 38px);
    line-height: 2;
    font-weight: 600;
    font-style: italic;
}

.hero-title span{
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 900;
    line-height: 1.6;
}

.hero-content h3{
    font-size: clamp(20px, 2vw, 30px);
    margin-top: 20px;
    line-height: 1.5;
}
.hero-cta .div{
    font-size: 14px;
    font-weight: 500;
}
.button-solid{
    background-color: var(--primary);
    border: 3px solid var(--primary);
    color: var(--background);
    padding: 10px 20px;
    border-radius:10px;
    cursor: pointer;
}

.button-solid:hover{
    background-color: var(--background);
    border: 3px solid var(--primary);
    color: var(--primary);
}

.dark-button-solid{
    background-color: var(--secondary);
    border: 3px solid var(--secondary);
    color: var(--background);
    padding: 10px 20px;
    border-radius:10px;
    cursor: pointer;
}

.dark-button-solid:hover{
    background-color: var(--washed-primary);
    border: 3px solid var(--secondary);
    color: var(--secondary);
}

.button-outline{
    color: var(--secondary);
    /* background-color: var(--primary); */
    padding: 10px 20px;
    border: 3px solid var(--secondary);
    border-radius:10px;
    cursor: pointer;
}

.button-outline:hover{
    background-color: var(--secondary);
    color: var(--background);
}

.scroll-down{
    margin-top: 4vw;
}

.ethics-section{
    margin: 2vw;
    border-radius: 1vw;
    background-color: var(--background);
    box-shadow: 2px 2px 6px 4px #3336;
    padding: 1vw;
}

.section-title{
    font-size: clamp(32px, 3vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    font-style: italic;
}
.sub-title{
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 500;
    margin-top: 20px;
    line-height: 1.5;
}
.highlight{
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.5;
}
.ethics-image video{
    width: 100%;
}
.ethics-container{
    width: 100%;
    background-color: var(--washed-primary);
}

.ethics-unesco-info{
        font-size: clamp(20px, 2vw, 30px);
        font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2vw;
}

.unesco-link{
    color: unset;
    text-decoration: underline;
}

.sub-heading span{
    font-size: larger;
    font-weight: 900;
}
.offerings-section{
    margin: 2vw;
}


.offerings-box{
    /* margin: 1vw; */
    padding: 1vw;
    background-color: var(--background);
    box-shadow: 2px 2px 4px 4px #3338;
    border-radius: 1vw;
    transition: 0.5s all;
    aspect-ratio: 1/1;
    width: 20%;
    max-width: 20%;
}

.offerings-box:hover{
    /* transform:scale(1.05) !important; */
}

.offerings-content{
    background-color: var(--washed-primary);
    height: 100%;
    padding: 1vw;
}

.offerings-content img{
    width: 50%;
}

.offerings-title{
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2vw;
}

.cta-container{
    background-color: var(--primary);
    padding: 3vw 2vw;
}

.cta-wrapper{
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-wrapper h3{
    color: var(--background);
}

.offerings-cta{
    background-color: var(--background);
    margin-top: 2vw;
    box-shadow: 2px 2px 6px 4px #3338;
    border-radius: 1vw;
    /* margin: 2vw; */
    padding: 1vw;
}
.offerings-cta-box{
    background-color: var(--washed-primary);
    padding: 2vw;
}

.safety-container{
    /* margin: 2vw; */
}
.safety-section{
    margin: 2vw;
}
.safety-content{
    font-size: clamp(14px, 1.4vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    padding: 2vw 2vw 2vw 0;
    margin-top: auto;
    margin-bottom: auto;
}

.faq-section{
    background-color: var(--secondary);
}
.faq-container{
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    /* margin: 2vw; */
    padding: 2vw;
}
.faq-container .section-title{
    color: var(--background)
}

.faq-question, .faq-answer{
    font-size: clamp(20px, 2vw, 30px);
    padding: 1vw 2vw;
}

.faq-question{
    background-color: var(--background);
    border-bottom: 2px solid var(--washed-primary);
    cursor: pointer;
}

.faq-answer{
    background-color: var(--washed-primary);
    transition: all 0.4s;
}

.collapsed{
    height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.arrow{
    top: 1vw;
    right: 2vw;
}

.faq-questions-section{
    border-radius: 1vw;
    overflow: hidden;
}

.last-cta-section{
    margin: 1vw;
    margin-top: 2vw;
    padding: 1vw;
    border-radius: 1vw;
    background-color: var(--background);
    box-shadow: 2px 2px 6px 4px #3338;
}

.last-cta-box{
    background-color: var(--washed-primary);
    padding: 2vw;
}

.footer-section{
    background-color: var(--primary);
}

.footer-container{
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 1vw;
}

.footer-section *{
    color: var(--background);
}
.footer-message{
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 400;
    color: var(--background);
    line-height: 1.5;
}

.top-banner{
    background-color: var(--secondary);
}
.top-banner .whole-container{
    padding: 1vw 2vw;
}
.top-banner a{
    color: var(--background);
}


/* Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 40, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Active state */
.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Popup container */
.popup-container {
  background: #ffffff;
  width: min(92vw, 620px);
  max-height: 85vh;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Heading */
.popup-container h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f2937;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #6b7280;
}

.popup-close:hover {
  color: #111827;
}

/* Tally iframe */
.tally-iframe {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  border: none;
}

/* Alternate contact text */
.alternate-contact {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
  text-align: center;
}

.alternate-contact a {
  color: #2563eb;
  text-decoration: none;
}

.alternate-contact a:hover {
  text-decoration: underline;
}

.unesco-heading{
    color: var(--background) !important;
}