@charset "utf-8";
html{overflow-x: hidden;}
.top-section{
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.surface {
  background: linear-gradient(to bottom, #87ceeb, #e0f7ff);
  position: relative;
  overflow: hidden;
}
.adb-box {
    position: relative;
    max-width: 420px;
    padding: 40px 32px;
    margin: 0 auto;
    background: transparent;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden; /* keeps bubbles/caustics contained to the box */
    isolation: isolate;
  }

/* Water Bubble Box */
.bub-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 20px;
  }

  .bub-bubble {
    position: relative;
    width: 210px;
    height: 140px;
    border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
    background: radial-gradient(circle at 32% 28%,
                  rgba(255,255,255,0.18) 0%,
                  rgba(180,235,255,0.08) 35%,
                  rgba(140,210,255,0.05) 65%,
                  rgba(255,255,255,0.02) 100%);
    border: 1.5px solid rgba(255,255,255,0.55);
    box-shadow:
      inset -8px -8px 16px rgba(0,0,0,0.08),
      inset 6px 6px 14px rgba(255,255,255,0.25),
      0 8px 24px rgba(0,60,90,0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bub-float 6s ease-in-out infinite;
    animation-play-state: paused;
  }

  /* Glossy highlight, like light catching the top of a bubble */
  .bub-bubble::before {
    content: "";
    position: absolute;
    top: 14%;
    left: 20%;
    width: 34%;
    height: 20%;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    filter: blur(4px);
    transform: rotate(-20deg);
    pointer-events: none;
	  display:none;
  }

  /* Faint secondary highlight for extra glassiness */
  .bub-bubble::after {
    content: "";
    position: absolute;
    bottom: 16%;
    right: 18%;
    width: 14%;
    height: 8%;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    filter: blur(2px);
    pointer-events: none;
	  display:none;
  }

  .bub-bubble.bub-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation-play-state: running;
  }

  /* Stagger each bubble's float so they don't move in unison */
  .bub-bubble:nth-child(1) { animation-duration: 6s;   animation-delay: 0s; }
  .bub-bubble:nth-child(2) { animation-duration: 7.5s; animation-delay: 0.4s; }
  .bub-bubble:nth-child(3) { animation-duration: 5.5s; animation-delay: 0.8s; }

  @keyframes bub-float {
    0%   { transform: translateY(0) translateX(0) scale(1);
           border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
    33%  { transform: translateY(-8px) translateX(3px) scale(1.01);
           border-radius: 56% 44% 39% 61% / 51% 62% 38% 49%; }
    66%  { transform: translateY(-4px) translateX(-4px) scale(1.02);
           border-radius: 63% 37% 47% 53% / 36% 48% 52% 64%; }
    100% { transform: translateY(0) translateX(0) scale(1);
           border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
  }

  .bub-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    box-sizing: border-box;
    color: #ffffff;
  }

  .bub-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 6px rgba(150, 220, 255, 0.45);
  }

  .bub-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
  }

  @media (max-width: 600px) {
    .bub-bubble { width: 170px; height: 170px; }
    .bub-text { font-size: 12px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .bub-bubble { animation: none !important; }
  }

/* Water Bubble Box end */

  .adb-defs { position: absolute; width: 0; height: 0; }

  /* ---------- Wavy border ---------- */
  .adb-border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: url(#adb-water);
  }

  .adb-line {
    fill: none;
    stroke: #d6f2ff;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    transition: stroke-dashoffset 1.8s ease;
  }

  .adb-line-inner {
    transition-delay: 0.25s;
    stroke: #ffffff;
  }

  .adb-box.adb-in-view .adb-line {
    stroke-dashoffset: 0;
  }

  /* ---------- Caustic light sheen drifting across the box ---------- */
  .adb-caustics {
    position: absolute;
    inset: -30%;
/*     background: radial-gradient(ellipse at 30% 30%, rgba(180,235,255,0.25), transparent 55%), */
                radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.15), transparent 50%);
    opacity: 0;
    transform: translate(0, 0) scale(1.1);
    transition: opacity 1.2s ease 0.4s;
    animation: adb-drift 10s ease-in-out infinite;
    pointer-events: none;
  }

  .adb-box.adb-in-view .adb-caustics {
    opacity: 1;
  }

  @keyframes adb-drift {
    0%   { transform: translate(0%, 0%) scale(1.1) rotate(0deg); }
    50%  { transform: translate(4%, -3%) scale(1.15) rotate(3deg); }
    100% { transform: translate(0%, 0%) scale(1.1) rotate(0deg); }
  }

  /* ---------- Bubbles ---------- */
  .adb-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .adb-bubbles span {
    position: absolute;
    bottom: -20px;
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.15), 0 0 4px rgba(255,255,255,0.4);
    opacity: 0;
    animation: adb-rise 6s ease-in infinite;
  }

  .adb-box.adb-in-view .adb-bubbles span {
    opacity: 1;
  }

  .adb-bubbles span:nth-child(1) { left: 10%;  width: 6px;  height: 6px;  animation-delay: 0s;   animation-duration: 5.5s; }
  .adb-bubbles span:nth-child(2) { left: 25%;  width: 10px; height: 10px; animation-delay: 1.2s; animation-duration: 7s; }
  .adb-bubbles span:nth-child(3) { left: 45%;  width: 5px;  height: 5px;  animation-delay: 2.5s; animation-duration: 5s; }
  .adb-bubbles span:nth-child(4) { left: 60%;  width: 8px;  height: 8px;  animation-delay: 0.6s; animation-duration: 6.5s; }
  .adb-bubbles span:nth-child(5) { left: 78%;  width: 7px;  height: 7px;  animation-delay: 3.2s; animation-duration: 6s; }
  .adb-bubbles span:nth-child(6) { left: 90%;  width: 5px;  height: 5px;  animation-delay: 1.8s; animation-duration: 5.8s; }

  @keyframes adb-rise {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.5; }
    100% { transform: translateY(-240px) translateX(10px); opacity: 0; }
  }

  /* ---------- Text: gentle bob, like it's suspended in water ---------- */
  .adb-content {
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(12px);
    transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
  }

  .adb-box.adb-in-view .adb-content {
    opacity: 1;
    transform: translateY(0);
    animation: adb-bob 5s ease-in-out 1.4s infinite;
  }

  @keyframes adb-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }

  .adb-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(150, 220, 255, 0.5);
  }

  .adb-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
  }

  /* Respect users who've asked for reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .adb-caustics, .adb-bubbles span, .adb-content, .adb-line { animation: none !important; }
  }

.button-width button{width:100%;}

/* elementor jump fix */
.hero, .hero-text, .hero-text * {
    transition: none !important;
}

/* top section text reveal on scroll */
/* Hero scroll text */
.hero {
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}
.hero-texts {
  position: relative;
  display: grid !important;
  place-items: center;
}
.hero-logo .logo-gif {
  display: block;
  width: 320px;          /* adjust to your logo */
  max-width: 80vw;
  height: auto;
  margin: 0 auto;
}
.hero-text {
  grid-area: 1 / 1;
  width: 100%;
  text-align: center;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.hero-para p:last-child {
  margin-bottom: 0;
}
/* Stop CSS transitions fighting GSAP */
.hero,
.hero-content,
.hero-texts,
.hero-text,
.hero-para,
.hero-buttons,
.hero .unique,
.hero-loader {
  transition: none !important;
}
.hero-para {
  width: 100%;
  max-width: 700px;
}
/* top section text reveal on scroll end*/

/* hiding rules*/
/* Hide scroll-revealed content until GSAP takes over (not in the Elementor editor) */
body:not(.elementor-editor-active) .hero-text,
body:not(.elementor-editor-active) .hero-para,
body:not(.elementor-editor-active) .hero-buttons,
body:not(.elementor-editor-active) .hero .unique {
  visibility: hidden;
  opacity: 0;
}

/* Loader sits exactly where the texts appear */
.hero {
  position: relative;
}
.hero-content,
.hero-loader {
  position: relative;
  z-index: 2;
}
.hero > .hero-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: auto;
  margin: 0;
}
.hero > .hero-loader svg {
  width: 60px; /* adjust to your gif */
  height: auto;
  display: block;
}
/* hiding rules end*/

/* Accordion points */
.acc-item {
  overflow: hidden;
}
.acc-title {
  cursor: pointer;
}

/* Description: collapsed by default */
.acc-desc {
  display: grid !important;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 !important;
  margin: 0 !important;
  transition: grid-template-rows 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.6s ease !important;
}
.acc-desc > .elementor-widget {
  min-height: 0;
  overflow: hidden;
}
/* Spacing goes inside, so it collapses with the content */
.acc-desc .elementor-widget-container {
  padding: 20px 30px;
}

/* Open state */
.acc-item:hover .acc-desc,
.acc-item.is-open .acc-desc {
  grid-template-rows: 1fr;
  opacity: 1;
}

.acc-title .elementor-heading-title {
  transition: color 0.4s ease !important;
}
.acc-item:hover .acc-title .elementor-heading-title,
.acc-item.is-open .acc-title .elementor-heading-title {
  color: #b0e5f1 !important; /* your hover color */
}
/* While hovering the section, only the hovered item stays open */
.acc-section:hover .acc-item.is-open:not(:hover) .acc-desc {
  grid-template-rows: 0fr;
  opacity: 0;
}
.acc-section:hover .acc-item.is-open:not(:hover) .acc-title .elementor-heading-title {
  color: #ffffff !important; /* your normal (non-hover) heading color */
}
/* Accordion points end */

/* team section */ 
.team{
	/* The gradient is listed FIRST so it sits on top */
/*   background-image: linear-gradient(90deg,rgba(0, 0, 0, 1) 0%, rgba(20, 65, 104, 1) 50%, rgba(242, 242, 242, 0) 100%),  */
                    url('https://pellagic.com/staging/wp-content/uploads/2026/10/bg3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}
.depth-text:hover{
	background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.3px);
    -webkit-backdrop-filter: blur(6.3px);
    border: 2px solid rgb(255 255 255 / 27%) !important;
}
/* team section end */

/* Services slider */
.services-slider,
.team {
  position: relative;
  overflow: visible !important;
}
.services-slider { z-index: 5; }
.team            { z-index: 6; }
.services-slider .svc-stage {
  overflow: hidden;               /* the job the old overflow rule did: hide the off-screen cards */
}
.services-slider .section-blend,
.team .section-blend, .about-depth .section-blend, .solutions .section-blend, .contact .section-blend  {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  margin: 0 !important;
  transform: translateY(-40%);
  z-index: 0;
  pointer-events: none;
}
.services-slider .section-blend img,
.team .section-blend img, .about-depth .section-blend img, .solutions .section-blend img, .contact .section-blend img{
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none;
}
.svc-stage {
  position: relative;
  width: 100%;
  height: 420px !important; /* must be at least as tall as your tallest card */
  min-height: 420px !important;
}
.svc-card {
  --w: 340px;
  position: absolute !important;
  top: 50%;                       /* changed from 0 */
  left: 50%;
  width: var(--w) !important;
  margin-left: calc(var(--w) / -2) !important;
  height: 78%;                    /* changed from 100%: the "resting" height */
  transition: none !important;
}
.glass-box.svc-card {
	border: 2px solid #25d4bb !important;
}
.services-slider,
.services-slider .svc-stage,
.svc-card,
.pin-spacer {
  transition: none !important;
z-index: 1;
}
/* Services slider end */

/* Hero background animation */
.wave-layer {
  --o: 40px;                                   /* overscan: how far the layer sticks out */
  position: absolute !important;
  left: 0 !important;
  width: 100% !important;
  top: calc(var(--o) * -1) !important;
  bottom: calc(var(--o) * -1) !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  transition: none !important;
}
.wave-layer1 { --o: 40px; }   /* y = 14 */
.wave-layer2 { --o: 50px; }   /* y = 22 */
.wave-layer3 { --o: 60px; }   /* y = 30 */

/* Only needed if a layer is an Image widget rather than a container background */
.wave-layer .elementor-widget-container,
.wave-layer img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* .wave-layer3 { background-color: red; }   /* test only, remove afterwards */ */
/* Hero background animation end*/

/* Locked by default; released when JS adds .intro-done */
html:not(.intro-done),
html:not(.intro-done) body {
  overflow: hidden;
  animation: intro-failsafe 15s steps(1, end) forwards;  /* unlocks itself even if the JS fails */
}
@keyframes intro-failsafe {
  to { overflow: auto; }
}
html {
  scrollbar-gutter: stable;
}
/* Locked by default; end*/
/* Blend Container */
/* Blend Container end*/
.solutions svg{
	min-height:500px;
}
.jelly{
	opacity: 0.7;
}
.whale{
	opacity: 0.9;
}
@media (max-width: 767px) {
  .svc-card { --w: 80vw; }
  .jelly{	opacity: 0.4 !important;}
  .solutions svg { min-height: 400px;}
  .team svg {max-height: 400px;}
  .hero {
    height: 100vh !important;                            /* fallback */
    height: 100lvh !important;                           /* full height even after the toolbar hides */
    min-height: 0 !important;
    padding-bottom: calc(100lvh - 100svh) !important;    /* keeps the content centred in what's visible at first */
    overflow: hidden;
  }
  .wave-layer2,
  .wave-layer3 {
    display: none !important;       /* only one static image on mobile */
  }
  .wave-layer1 {
    --o: 0px;                       /* no overscan needed, since nothing moves */
    background-size: cover;
    background-position: center center;
  }
	.unique{
		max-width: 400px;
	}
}