@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;
}
* {
  /* outline: 1px solid red; */
}

:root{
    --background: #F9F9F7;
    --primary: #00A2FF;
    --secondary: #1e2a44;
    --accent:#fdba74;
    --text:#3f3f3f;
    --washed-primary:#EFF7FE;
}
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;
    overflow-x: hidden;
}

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

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

.navigation-logo{
    width: 8vw;
    min-width: 50px;
    max-width: 100px;
}
.navigation-logo img{
    width: 100%;
}
.navigation-title{
    color: var(--secondary);
}
.navigation-item{
    padding: 10px;
    font-size: clamp(14px, 1.4vw, 24px);
    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(28px, 3vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    font-style: italic;
}

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

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

.hero-content h3{
    font-size: clamp(18px, 2vw, 30px);
    margin-top: 20px;
    line-height: 1.5;
}
.hero-cta *{
    font-size: 14px;
    font-weight: 500;
}

.hero-cta{
    justify-content: space-evenly;
}
.button-solid{
    background-color: var(--primary);
    border: clamp(1px, 0.5vw, 3px) solid var(--primary);
    color: var(--background);
    padding: 1vw 2vw;
    border-radius:10px;
    cursor: pointer;
}

.button-solid:hover{
    background-color: var(--background);
    border: clamp(1px, 0.5vw, 3px) solid var(--primary);
    color: var(--primary);
}

.dark-button-solid{
    background-color: var(--secondary);
    border: clamp(1px, 0.5vw, 3px) solid var(--secondary);
    color: var(--background);
    padding: 1vw 2vw;
    border-radius:10px;
    
    cursor: pointer;
}

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

.button-outline{
    color: var(--secondary);
    /* background-color: var(--primary); */
    padding: 1vw 2vw;
    border: clamp(1px, 0.5vw, 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(--washed-primary);
    box-shadow: 1px -6px 20px 7px #94a6f038;
    padding: 1vw;
}

.ethics-mobile{
    width: 75%;
}

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

.ethics-unesco-info{
        font-size: clamp(18px, 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-container{
        justify-content: space-evenly;
}
.offerings-box{
    /* margin: 1vw; */
    padding: 1vw;
    background-color: var(--washed-primary);
    box-shadow: 1px -6px 20px 7px #94a6f038;
    border-radius: 1vw;
    transition: 0.5s all;
    aspect-ratio: 1/1;
    width: 20%;
    max-width: 20%;
    min-width: 200px;
    margin: 3vw 1vw;
}

.offerings-content:hover{
    transform:scale(1.1) !important;
}

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

}

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

.offerings-title{
    font-size: clamp(18px, 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(--washed-primary);
    margin-top: 2vw;
    box-shadow: 1px -6px 20px 7px #94a6f038;
    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;
    margin-top: 5rem;
}
.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(14px, 1.4vw, 24px);
    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: 3vw;
    margin-top: 2vw;
    padding: 1vw;
    border-radius: 1vw;
    background-color: var(--washed-primary);
    box-shadow: 1px -6px 20px 7px #94a6f038;
}

.last-cta-box .section-title{
    font-size: clamp(20px,2vw,30px);
}
.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(18px, 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{
    font-size: clamp(10px, 1vw, 20px);
    color: var(--background);
}


/* Overlay */
.popup-overlay {
    max-width: 100vw;
  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;
}

.blog-container span{
    font-weight: 700;
}

.blog-container blockquote{
    background-color: var(--washed-primary);
    padding: 1vw 2vw;
    margin: 1vw 0;
    font-size: clamp(18px, 2vw, 30px);
    font-weight: 700;
    width: fit-content;
}
.blog-container{
    padding: 1vw;
}

.blog-container h1{
    font-size: clamp(27px, 2.5vw, 40px);
    font-weight: 900;
}

.blog-container h2{
    font-weight: 600;
}

.blog-side-bar{
    border-left: 2px solid var(--text);
    padding: 1vw;
}

.all-blogs-container{
    min-height: 70vh;
    padding: 1vw;
}

.blog-tile h3{
    font-size: 20px
}

.blog-container h3{
    font-size: 18px !important;
    font-weight: 600;
}
.blog-meta{
    color: #888;

}
.blog-tile{
    max-width: 300px;
    /* padding: 2vw 1vw; */
    padding: 0px;
    border-radius: 20px;
    box-shadow: 0px 0px 6px 1px #8888;
    cursor: pointer;
    margin: 20px;
}

.blog-tile-title{
    background-color: var(--primary);
    color: var(--background);
    width: 100%;
    height: 100px;
    max-height: 100px;
    padding: 20px 15px 15px 15px;
    border-radius: 20px 20px 0 0 ;
}
.blog-tile-content{
    padding: 15px;
}
/* blogs */

