:root {
  /* Primary Colors */
  --color-cerulean: #019ED3;
  --color-polar: #E6F4FA; /* Note: This differs from your TW config which has #D3ECFB */
  
  /* Secondary Colors */
  --color-blue-zodiac: #0A1E33;
  --color-matisse: #1D5A9A;
  --color-cornflower: #A0D3EC;
  
  /* Accent Colors */
  --color-ecstasy: #F46D17;
  --color-supernova: #FFCA0A;
  
  /* Gray Scale (from your TW config) */
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;
}


body {
    font-family: "Inter", sans-serif;
}


::selection{background-color: var(--color-cerulean); color: white;}

.noise-bg {
    position: relative;
}

.noise-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.action-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.action-card:hover .card-overlay {
    opacity: 0.85;
}

.action-card:hover .card-content {
    transform: translateY(0);
}

.card-content {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.rounded-card {
    border-radius: 0.5rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card-content {
        transform: translateY(0);
    }

    .mobile-menu {
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .mobile-menu.active {
        transform: translateX(0);
    }
}

.water-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 127, 182, 0.35);
    display: flex;
    z-index: 100;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

video.cover-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    filter: grayscale(100%) sepia(100%) hue-rotate(140deg);
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* Logo Scroller Styles */
.logo-scroller-container {
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.logo-scroller {
    overflow: hidden;
    margin: 16px 0;
    position: relative;
    padding: 0;
}

.logos-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.logos-track-reverse {
    animation: scroll-reverse 25s linear infinite;
}

.logo-slide {
    height: 150px;
    min-width: 150px;
    margin: 0 16px;
    transition: all 0.3s ease;
}

.logo-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Overlay gradient for fade effect on sides */
.logo-scroller::before,
.logo-scroller::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-scroller::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(31, 41, 55, 0));
}

.logo-scroller::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(31, 41, 55, 0));
}

/* Animation keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Different speeds for different rows */
.logo-scroller-1 .logos-track {
    animation-duration: 30s;
}

.logo-scroller-2 .logos-track {
    animation-duration: 25s;
}

.logo-scroller-3 .logos-track {
    animation-duration: 35s;
}

/* Pause animation on hover */
.logo-scroller:hover .logos-track {
    animation-play-state: paused;
}

.parallax > use{
  animation:move-forever 12s linear infinite;
  &:nth-child(1){animation-delay:-10s;}
  &:nth-child(2){animation-delay:-10s; animation-duration:20s}
  &:nth-child(3){animation-delay:-14s; animation-duration:12s}
}

@keyframes move-forever{
  0%{transform: translate(-90px , 0%)}
  100%{transform: translate(85px , 0%)} 
}

.waves {
  display: block;
  width: 100%;
  height: 10em;
  max-height: 100vh;
  margin: 0;
}

/*prevent many large-by-comparison ripples by shrinking the height*/
@media (max-width:50em){
  .waves{height:17vw;}
}


.goccia {
  color: #1074bb;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  font-size: 3.5em;
  justify-content: center;
  text-shadow: -2px -2px 5px #fff;
  filter: drop-shadow(4px 4px 10px #fff);
  box-shadow: inset 10px 10px 10px rgba(0,0,0,0.05),
    15px 10px 10px rgba(0,0,0,0.05),
    15px 15px 20px rgba(0,0,0,0.025),
    inset -10px -10px 15px rgba(255,255,255, 0.9)
}
.goccia:after {
  content: '';
  position: absolute;
  top: 35px;
  left: 25px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  filter: blur(2px)
}
.goccia:before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  filter: blur(2px)
}

.drops{
    width: 150px;
    height: 150px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drop{
    position: absolute;
    width: 150px;
    height: 150px;
    background: transparent;
    border-radius: 57% 43% 37% 63% / 51% 53% 47% 49%;
    box-shadow: inset 10px 10px 10px rgba(0, 0, 0, 0.5), 15px 25px 10px rgba(0, 0, 0, 0.1), 15px 20px 2px rgba(0, 0, 0, 0.05), inset -10px -10px 15px rgba(255, 255, 255, 0.9);
}

.drop::before{
    content: '';
    position: absolute;
    top: 25px;
    left: 35px;
    background: #fff;
    width: 20px;
    height: 20px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
}

.drop::after{
    content: '';
    position: absolute;
    top: 25px;
    left: 65px;
    background: #fff;
    width: 10px;
    height: 10px;
    border-radius: 57% 43% 37% 63% / 48% 37% 63% 52%;
}

.drop:nth-child(2){
    transform: scale(0.5) translate(-200px, 180px);
    border-radius: 64% 36% 42% 58% / 42% 37% 63% 58%;
    /* border: 2px solid black; */
}

.drop:nth-child(3){
    transform: scale(0.5) translate(280px,10px);
    border-radius: 49% 51% 42% 58% / 56% 47% 53% 44%;
}

.drop:nth-child(4){
    transform: scale(0.53) translate(120px,-350px);
    border-radius: 39% 61% 63% 37% / 77% 47% 53% 23%;
}