
html{font-size: 16px;box-sizing: border-box;}
body {margin:0;overscroll-behavior-y: none;}
@font-face{
    font-family: comic-neue;
    src: url('../fonts/ComicNeue-Light.ttf');
}
@font-face{
    font-family: staaliches;
    src: url('../fonts/Staatliches-Regular.ttf');
}
@font-face{
    font-family: londrinashadow;
    src: url('../fonts/LondrinaShadow-Regular.ttf');
}
@font-face{
    font-family: londrinaoutline;
    src: url('../fonts/LondrinaOutline-Regular.ttf');
}
@font-face{
    font-family: bowlbyone;
    src: url('../fonts/BowlbyOneSC-Regular.ttf');
}
@font-face{
    font-family: somethingfishy;
    src: url('../fonts/SomethingFishy.ttf');
}
@font-face{
    font-family: lostfish;
    src: url('../fonts/LostFish-5DOz.ttf');
}
@font-face{
    font-family: oceananimal;
    src: url('../fonts/OceanAnimalTTFDemo.ttf');
}
@font-face{
    font-family: lexend;
    src: url('../fonts/Lexend-VariableFont_wght.ttf');
}
@font-face{
    font-family: quicksand;
    src: url('../fonts/Quicksand-VariableFont_wght.ttf');
}
@font-face{
    font-family: oldenburg;
    src: url('../fonts/Oldenburg-Regular.ttf');
}

@font-face{
    font-family: caprasimo;
    src: url('../fonts/Caprasimo-Regular.ttf');
}

@font-face{
    font-family: suranna;
    src: url('../fonts/Suranna-Regular.ttf');
}

@font-face{
    font-family: arbutus;
    src: url('../fonts/Arbutus-Regular.ttf');
}

@font-face{
    font-family: wellfleet;
    src: url('../fonts/Wellfleet-Regular.ttf');
}
@font-face{
    font-family: brilliant;
    src: url('../fonts/brillant.otf');
}


@font-face{
    font-family:reality-stone;
    src: url('../fonts/RealityStone.ttf');
}


.nav-container{
    display: flex;
    box-shadow: 0 0 10px 2px #000;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
    top:0;
    width: 100%;
    align-items: center;
}
.nav-items{
    display: flex;
    justify-content: space-between;
    width:65vw;
    padding-right: 0rem;
    align-items: center;
}.nav-logo-container{
    width: 38vw;
    margin-left: 1rem;
}
.nav-logo-container img{
    width: 17.5%;
}
h5{
    font-size: clamp(0.747rem, 1.249vw + 0.04rem, 3.747rem);
    font-family: lexend;
    font-weight: 200;
    text-transform: uppercase;
    transition: font-size 0.5s ease;

}.nav-item {
    text-decoration: none;
    color: #e3f7e4;
    


}.nav-item-container:hover h5{
    color: #5dd5c1;
    transition: font-size 0.5s ease;
    font-size: clamp(0.947rem, 1.449vw + 0.04rem, 3.947rem);
}
.nav-item-container.drop-item h5{
    color: #fff;
    transition: font-size 0.5s ease;
    font-size: clamp(0.947rem, 1.449vw + 0.04rem, 3.947rem);
}

.dropdown {
    position: relative;
    display: flex; 
    align-items: center; 
    padding: 0; 
}

.dropbtn {
    background: none;
    border: none;
    color: #e3f7e4; /* match .nav-item color */
    font-size: clamp(0.747rem, 1.249vw + 0.04rem, 3.747rem); /* match h5 font size */
    font-family: lexend;
    font-weight: 200;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    transition: font-size 0.5s ease;
}


.dropdown:hover .dropbtn {
    color: #5dd5c1;
    font-size: clamp(0.947rem, 1.449vw + 0.04rem, 3.947rem);
    transition: font-size 0.5s ease;
    
}

/* Dropdown panel styling */
.nav-dropdown {
    display: block;
    position: absolute;
    top: 100%; 
    left: 0;
    background-color: rgba(34, 34, 34, 0.9); 
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 999;
    opacity:0;
    transition: opacity 0.5s ease;
}
@media (max-width: 768px) {
  .dropdown {
    position: relative;
  }
  .nav-dropdown {
    left: auto;
    right: 100%;
    top: 0;
    min-width: 180px;
    margin-right: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  .dropdown:hover .nav-dropdown,
  .dropdown:focus-within .nav-dropdown {
    display: block;
    opacity: 0.8;
  }
}

.nav-dropdown .nav-item-container {
    padding: 0rem 1rem;
    transition: transform 0.5s ease;
}

.nav-dropdown .nav-item-container a {
    color: #e3f7e4;
    text-decoration: none;
    display: block;
    
}

.nav-dropdown .nav-item-container:hover h5 {
    color: #5dd5c1;
}
.dropdown .fa-caret-down {
   transition: transform 0.3s ease;
}

/* Show dropdown on hover */
.dropdown:hover .nav-dropdown {
    display: block;
    opacity:0.8;
    
}

/* Caret rotation */
.dropdown:hover .fa-caret-down {
    transform: rotate(180deg);
}


.video-container {
    position: relative;
    width: 100%;
    height: 75vw; 
    overflow: hidden;
    z-index: 0;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.vignette-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    pointer-events: none; 
    z-index: 0; 
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0) 30%,
        rgba(0, 0, 0, 0.4) 70%,
        rgba(0, 0, 0, 0.7) 100%
    );
}


.video-overlay-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: clamp(1.813rem, 7.7vw + 0.2rem, 12.813rem);
    font-family: brilliant;
    text-shadow: 0px 5px 5px #000;
    text-transform: uppercase;
    font-weight: 700;
    display: grid;
    align-items: center;
    justify-items: center;
    height: 100%;
    align-content: space-evenly;
}.video-overlay-content p{
    margin-bottom: 0;
    margin-top: 0;
}
.title-container{
    text-align: center;
}

.sub-title-container{
    text-align: center;
    width: 80%;
}
.hashtag-text{
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    font-size: clamp(0.85rem, 3.5vw + 0.1rem, 5.875rem);
    padding-top:0.1rem !important ;
    font-family: quicksand;
    text-shadow: 0px 5px 5px #000;
    font-weight: 400;
    margin-top: 0;
    text-transform: none;

}
h1 {
    font-size: clamp(3.688rem, 5.6vw + 1rem, 6.25rem);
    font-family: staaliches;
    text-shadow: 0px 1px 1px #000;
    color: #e3f7e4;
    margin: 0;
}
h1.dark {
    font-size: clamp(3.688rem, 5.6vw + 1rem, 6.25rem);
    font-family: staaliches;
    text-shadow: 0px 1px 1px #000;
    color: #2e312f;
    margin: 0;
}
h2 {
    font-size: clamp(1.313rem, 1.28vw + 0.75rem, 2rem);
    text-shadow: 0px 1px 1px #000;
    font-family: lexend;
    color: #f7f6e3;
    margin: 0;
}
h2.dark {
    font-size: clamp(1.313rem, 1.28vw + 0.75rem, 2rem);
    text-shadow: 0px 1px 1px #000;
    font-family: lexend;
        color: #2e312f;
    margin: 0;
}h3{
    text-align: left;
}
.our-aim-container{
    background-color: #38BDD9;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 3rem;
}
.ideas-container{
    background-color: #e9f6e4;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 3rem;
}
.facts-container{
    background-color: #84b6f0;
    display: grid;
    justify-content: center;
    justify-items: center;
}
.map-preview-container{
    background-color: #e9f6e4;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 3rem;
}.map-text-combo{
    display: flex;
}
@media(max-width:768px){
    .map-text-combo{
        flex-direction: column-reverse;
        align-items: center;
    }
    .text-button-container{
        padding: 0rem !important;
    }
    .nav-item {
        font-size: 1.1rem; /*check*/
    }
}
.donate-container{
    background-color: #e9f6e4;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 3rem;
}
.donate-button{
    font-size: clamp(1.3rem, 3.4vw + 0.7rem, 7.3rem); 
    font-family: bowlbyone;
    background-color: transparent;
    border: 0.5rem double #323131;
    color: #000;
    padding: 0.4rem;
    transition: background-color 0.1s ease, color 0.1s ease,transform 0.1s ease;
    min-height: 6rem;
    width: max-content;
    
}.donate-button:hover{
    background-color: #67955a;
    color: #fff;
    border: 0.5rem double #fff;
    cursor: pointer;
    animation: buttonhop 0.4s ease;
}


.donate-button-container{
    margin: 2rem;
    width:33%;
    display: flex;
    justify-content: center;
}.donate-button-combo{
    display: flex;
}

.donate-button-combo img{
    width: 30%;
}
.donate-image-container{
    display: flex;
    justify-content: space-around;
    width: 33%;
}
.donate-image-container.one{
    animation: buttonhop 1s ease infinite;
    animation-play-state: paused; 
}  
.donate-image-container.two{
    margin-top: 3rem;
    animation: rotateorca 2s ease infinite;
    animation-play-state: paused; 
    
}   
.donate-image-container.two:hover{
    margin-top: 3.1rem;
    animation-play-state: running;
}
.donate-image-container.one:hover{
    animation-play-state: running;
}
.blog-container{
    background-color: #e9f6e4;
    display: grid;
    justify-content: center;
    justify-items: center;
    padding: 3rem;
}

.ocean-bar-container {
    position: fixed;
    top: 18%;
    height: 80%;
    width: 5vw;
    background-color: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 10px 2px #000;
    z-index: 2;
    overflow: hidden;
}

.ocean-fill {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    background-image:linear-gradient(0deg,#84b6f0,#8ee2f1);
    transition: height 0.2s ease-out;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
}

.ocean-wave { /*needs checking*/
    width: 100%;
    height: 3.125rem;
    background: url('../Images/wave.png');
    background-size: 90px 50px;
    background-repeat: repeat-x;
    animation: waveMotion 1.5s infinite linear, waveBob 1s infinite ease-in-out;
    margin-top: -50px;
    z-index: 3;
    position: relative;
    pointer-events: none;
}
.bubble { /*needs checking*/
    position: absolute;
    bottom: 0;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}


@keyframes waveMotion { /*needs checking*/
    0% { background-position: 0 0; }
    100% { background-position: 90px 0; }
}

@keyframes waveBob { /*needs checking*/
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}@keyframes animatefish { 
    0% {
        transform: translateX(0) scaleX(1) rotateY(0deg);
    }
    45% {
        transform: translateX(100%) scaleX(1) rotateY(20deg);
    }
    50% {
        transform: translateX(100%) scaleX(1) rotateY(0deg);
    }
    55% {
        transform: translateX(100%) scaleX(-1) rotateY(0deg);
    }
    90% {
        transform: translateX(0%) scaleX(-1) rotateY(20deg);
    }
    95% {
        transform: translateX(0) scaleX(-1) rotateY(0deg);
    }
    100% {
        transform: translateX(0) scaleX(1) rotateY(0deg);
    }
}
@keyframes rotateorca {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}@keyframes buttonhop{ /*needs checking*/
    0%{
        transform: translateY(0rem);
    }
    50%{
        transform: translateY(-0.5rem);
    }
    100%{
        transform: translateY(0rem);
    }
}

.fact-container{
    display: flex;
    justify-content: center;
    border: 0.8rem double #000;
    align-items: center;
    padding: 1.2rem;
}
.fact-container.reverse{
    flex-direction: row-reverse;
}
@media(max-width:768px){
   .fact-container.reverse{
        flex-direction: column;
    }
    .nav-logo-container{
        width: 66vw;
    }
}
.fact-body{
    font-size: clamp(0.75rem, 2vw + 0.3rem, 3.5rem); 
    color: #fff;
    font-family: lexend;
    text-transform: uppercase;
    text-align: center;
    margin: 1rem;
    letter-spacing: 0.0625rem;
}.clownfish-container img{
    width: 50%;
    animation: animatefish 3s ease-in-out infinite;
}.fish.small{
    width: 40%;
}
.orca-container {
  width: 60vw;                
  aspect-ratio: 1 / 1;          
  position: relative;
  animation: rotateorca 3s linear infinite;
  transform-origin: center;
}

.orca-container img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;                   
}
.dolphin-container img{
    width: 65%;
    animation: animatefish 3s ease-in-out infinite;
}

.body-container{
    margin-left: 5rem;
}.whale-container img{
    width: 100%;
}
.octopus-container img{
    width: 100%;
}.octopus-container{
    width:100%;
}

.cuttlefish-container {
    width: 100%;
}
.cuttlefish-container img{
    width: 100%;
}
.dugong-container {
    width: 100%;
}
.dugong-container img{
    width: 100%;
}
.aim-body{
    font-size: clamp(1.094rem, 0.85vw + 0.7rem, 1.5rem);
    color: #fff;
    font-family: lexend;
    text-transform: none;
    text-align: left;
    width: 72%;
}
.aim-text-container{
    display: flex;
    justify-content: center;
    padding:2rem;
}.aim-text-container img{
    margin-left: 1rem;
    width:20vw;
}

@media(max-width:768px){
    .aim-text-container{
        align-items: center;
        flex-direction: column-reverse;
    }.aim-body{
        width: 82vw;
        text-align: center;
    }.aim-text-container img{
        margin-left: 1rem;
        width:40vw;
    }

}
@media(max-width:425px){
    .donate-container{
        padding: 0.8rem;
    }
    .donate-button-combo img {
        width: 70%;
    }
}

.carousel {
  width: 85%;
  overflow: hidden;
  position: relative;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.fact-container {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0rem;
  background-color: #38BDD9;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.nav-buttons button {
  font-size: 3rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #e3f7e4;
}
@media (max-width: 768px) {
    .dolphin-container img{
        width: 50%;
    }
    .orca-container {
        width: 58vw;                
    }
    .body-container {
        margin-left: 0rem;
    }
}

.scroll-fade-slide { /*needs checking*/
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  will-change: opacity, transform;
}
.fade-in-on-scroll { /*needs checking*/
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-container{
    background-color: #237c8e;
    padding: 2rem;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;

}
.footer-heading{
    color: #92ce82;
    font-size: clamp(1.5rem, 1.08vw + 1rem, 2rem);
    font-family: lostfish;
}.footer-combo a{
    font-size: clamp(1.588rem, 1.55vw + 0.2rem, 2.5rem); 
    text-decoration: none;
    font-family: lexend;
    color: #fff;
}.footer-combo{
    display: grid;
}
.footer-sub-head{
    font-size: clamp(1.288rem, 1.55vw + 0.2rem, 2.5rem);
    font-family: quicksand;
    font-weight:600;
    color: #fff;
}
.footer-icon img{
    width: clamp(1.25rem, 1.4vw + 1rem, 3.313rem);
    margin-left: 1.5rem;
}
@media(max-width:768px){
    .footer-combo{
       justify-items: center;
    }
}

.preview-container{
    width: 80%;
    padding: 3rem;
}
.map-preview{
    width: 100%;
}
.map-text-body{
    font-size: clamp(1.094rem, 0.85vw + 0.7rem, 1.5rem);
    color: #fff;
    font-family: lexend;
    text-transform: none;
    text-align: left;
}
.map-text-body.dark{
    font-size: clamp(1.094rem, 0.85vw + 0.7rem, 1.5rem);
    color: #2c2c2c;
    font-family: lexend;
    text-transform: none;
    text-align: left;
}
.text-button-container{
    width: 85%;
    padding: 3rem;
}
.map-button{
    font-size: clamp(1.563rem, 1.1vw + 1.03rem, 2rem);
    font-family: bowlbyone;
    background-color: transparent;
    border: 0.5rem double #323131;
    color: #000;
    padding: 0.4rem;
    transition: background-color 0.1s ease, color 0.1s ease,transform 0.1s ease;
    height: 6rem;
    width: max-content;
    
}.map-button:hover{
    background-color: #8bb97e;
    color: #fff;
    border: 0.5rem double #fff;
    cursor: pointer;
    animation: buttonhop 0.4s ease;
}


.map-button-container{
    margin: 2rem;
    display: flex;
    justify-content: left;
}
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; 
  background-color: rgba(0,0,0,0.8);
}

.modal-content-container {
  margin: auto;
  max-width: 90%;
  max-height: 100vw;
  overflow: hidden;
  position: relative;
}

.zoomed-img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease, transform-origin 0.3s ease;
  cursor: zoom-in;
}


.modal-content-container:hover .zoomed-img {
  transform: scale(0.5);
  cursor: zoom-out;
}

.close {
  position: absolute;
  top: 2vh;
  right: 4vw;
  color: #fff;
  font-size: 3rem; 
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
.form-label{
    font-size: 1.3rem; 
    color: floralwhite;
    font-family: lexend;
}.form-field{
    max-width: 330px;
    width: -webkit-fill-available;
    height: 1.4rem;
    font-size: clamp(0.875rem, 1.6vw + 0.1rem, 1.625rem); 
    padding:0.5rem;
    border: #000 double 0.3rem;
    font-family: suranna;
    box-shadow: 0px 0px 2px 1px #000;
}.form-field:focus::placeholder{
    color: #3b4b44;
}
.form-head{
    font-size: clamp(0.8rem, 1.6vw + 0.5rem, 3.2rem); 
    font-family: brilliant;
    font-weight: bolder;
    color: floralwhite;
}
.form-button{
    font-size: clamp(0.813rem, 1vw + 0.6rem, 2rem); 
    background-color: #8bb97e;
    color: white;
    border-radius: 0.3rem;
    padding: 0.5rem;
    font-family: quicksand;
    border: #f8fafa double 0.3rem;
    box-shadow: 0 0 4px 0.1px #000;
    margin-top: 0.6rem;
    transition: background-color 0.1s ease;
}.form-button:hover{
    background-color: #719e64;
}

.form-item-container{
    display: grid;
    justify-items: start;

}
.auth-container { /*needs checking*/
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    z-index: 1000;
    border-radius: 4px;
    align-items: center;
}

.auth-button { /*needs checking*/
    background: #d2b035;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    transition: background 0.3s;
    font-family: quicksand;
    max-height:3rem;

}

.auth-button:hover {
    background: #0d5bba;
}

#user-greeting { /*needs checking*/
    display: none;
    align-self: center;
    color: #e8e5e5;
    font-weight: bold;
    font-family: quicksand;
    
}

#user-greeting { /*needs checking*/
    max-width: 86px;
    min-width: 0;
    overflow-wrap: break-word;
    white-space: normal;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

/* Hamburger icon hidden by default */
.hamburger {
  margin-left: auto;
  margin-right: 0;
  font-size: 2.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 10;
  color: white;
  margin-right: 0.5rem;
  display: none;
}

/* Default nav layout (desktop) */
.nav-items {
    display: flex;
    gap: 1rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .nav-items {
        display: none; /* Hide menu by default */
        flex-direction: column;
        background: #222;
        position: absolute;
        top: 60px;
        right: 0;
        padding: 1rem;
        width: 150px;
        z-index: 10;
    }

    .nav-items.show {
        display: flex; /* Show when toggled */
    }

    .nav-item-container {
        margin: 0.5rem 0;
    }
}
#video-top.loading {
  background: black url(/images/preloader/video-loader.webp) center center no-repeat;
}
.fixed-icon {
  position: fixed;
  bottom: 5px;
  right: 20px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
}.fixed-icon video {
  width: 136px;
  height: 306px;
  object-fit:contain;
  transition: all 0.5s ease;
}
.fixed-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  transform: scale(1);
  transition:
    bottom 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    right 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    width 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    height 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 10;
}

/* 🟦 Perfectly center manta on screen */
.fixed-icon.centered {
  bottom: 50%;
  right: 50%;
  width: 300px;
  height: 300px;
  transform: translate(50%, 50%) scale(1.3);
  transition:
    bottom 2.2s cubic-bezier(0.25, 1, 0.3, 1),
    right 2.2s cubic-bezier(0.25, 1, 0.3, 1),
    width 2.2s cubic-bezier(0.25, 1, 0.3, 1),
    height 2.2s cubic-bezier(0.25, 1, 0.3, 1),
    transform 2.2s cubic-bezier(0.25, 1, 0.3, 1);
}
.fixed-icon.centered video {
  width: 166px;
  height: 320px;
}

/* 💫 Return smoothly to bottom-right corner */
.fixed-icon.returning {
  bottom: 20px;
  right: 20px;
  width: 170px;
  height: 170px;
  transform: scale(1);
  transition:
    bottom 2s cubic-bezier(0.22, 1, 0.36, 1),
    right 2s cubic-bezier(0.22, 1, 0.36, 1),
    width 2s cubic-bezier(0.22, 1, 0.36, 1),
    height 2s cubic-bezier(0.22, 1, 0.36, 1),
    transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}


/* Optional floaty hover effect when centered */
@keyframes floaty {
  0%, 100% { transform: translate(-50vw, -50vh) scale(1.3); }
  50% { transform: translate(-50vw, calc(-50vh + 10px)) scale(1.32); }
}

.fixed-icon.centered.floaty {
  animation: floaty 3s ease-in-out infinite;
}

.fixed-icon video:hover {
  transform: scale(1.1);
  /* Add other hover effects as needed */
}
#chat-bubble {
  position: absolute;
  bottom: 160px;
  right: 60px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 10px 15px;
  max-width: 200px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #002b4f;
}
#chat-bubble.show {
  opacity: 1;
  transform: translateY(0);
}

#skip-tutorial-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  padding: 10px 16px;
  background: #0077b6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: opacity 0.3s ease;
  z-index: 3; /* 🟢 Highest — clickable above all */
}
.wisdom-bubble {
        position: absolute;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(173,216,230,0.15));
        box-shadow: 0 0 15px rgba(173,216,230,0.5);
        cursor: pointer;
        z-index: 20;
    }

    .quote-popup {
        position: fixed;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 200;
    }

    .quote-bubble {
        position: relative;
        width: 260px; /* fixed width */
        height: 260px; /* same as width → perfectly circular */
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(173,216,230,0.3));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
        color: #003b5c;
        font-size: 1rem;
        font-family: "Poppins", sans-serif;
        line-height: 1.4;
        box-shadow: 0 0 40px rgba(173,216,230,0.5);
        overflow: hidden; /* ensure content stays inside the circle */
    }
    .quote-bubble:active {
        transform: scale(1.05);
        transition: transform 0.2s ease;
    }



.droplet {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(134, 199, 221, 0.8);
  pointer-events: none;
  animation: dropletFall 1s ease forwards;
}

/* make them start around the circle’s surface and spread farther */
@keyframes dropletFall {
  0% {
    opacity: 1;
    transform: translate(
      calc(40px * cos(var(--angle))),  /* start on circle rim */
      calc(40px * sin(var(--angle)))
    ) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(
      calc(150px * cos(var(--angle))), /* fly outward farther */
      calc(200px * sin(var(--angle)) + 200px) /* fall outward + down */
    ) scale(0);
  }
}


    #chat-bubble {
        position: absolute;
        bottom: 190px;
        right: 0;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 15px;
        padding: 10px 15px;
        color: #004b63;
        font-family: "quicksand", sans-serif;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    #chat-bubble.show {
        opacity: 1;
    }
.tutorial-highlight {
    position: relative;
    outline: 3px solid rgba(0, 174, 239, 0.7);
    box-shadow: 0 0 25px 10px rgba(0, 174, 239, 0.4);
    border-radius: 6px;
    animation: pulseGlow 1.5s ease-in-out infinite;
    z-index: 1000;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px 3px rgba(0,174,239,0.4); }
    50% { box-shadow: 0 0 30px 10px rgba(0,174,239,0.7); }
    100% { box-shadow: 0 0 10px 3px rgba(0,174,239,0.4); }
}
