/* ============================
   ARJUN AQUA ACADEMY — SHARED
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --deep:  #020d1a;
  --ocean: #032d60;
  --mid:   #0a5fa8;
  --aqua:  #00b4d8;
  --foam:  #90e0ef;
  --white: #f0f8ff;
  --gold:  #f4c430;
  --text:  #cce8f4;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cursor {
  position: fixed; width: 12px; height: 12px;
  background: var(--aqua); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed; width: 38px; height: 38px;
  border: 1.5px solid var(--aqua); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%); opacity: .5;
  transition: width .3s, height .3s;
}

/* WATER CANVAS */
#water-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; opacity: .18; pointer-events: none;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 4rem;
  background: linear-gradient(to bottom, rgba(2,13,26,.95), transparent);
  transition: background .4s;
}
nav.scrolled {
  background: rgba(2,13,26,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,180,216,.12);
}
.nav-logo { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.nav-logo img {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid var(--aqua); object-fit: cover;
}
.nav-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem; letter-spacing: .06em; color: var(--white); line-height: 1.1; }
.nav-logo-sub  { font-size: .6rem; letter-spacing: .25em; color: var(--aqua); text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 300; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text); text-decoration: none; font-weight: 400;
  transition: color .3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--aqua);
  transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.nav-links a:hover { color: var(--aqua); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--aqua); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: transparent; border: 1.5px solid var(--aqua); color: var(--aqua);
  padding: .55rem 1.5rem; font-size: .75rem; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none; font-family: 'DM Sans', sans-serif;
  transition: background .3s, color .3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.nav-cta:hover { background: var(--aqua); color: var(--deep); }

/* PAGE HERO (inner pages) */
.page-hero {
  position: relative; min-height: 42vh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  overflow: hidden; z-index: 1; padding: 0 4rem 4rem;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(10,95,168,.35) 0%, transparent 70%),
              linear-gradient(180deg, #020d1a 0%, #021528 40%, #032040 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-eyebrow {
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: .8rem;
}
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: .95; color: var(--white);
}
.page-hero-title em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--aqua);
}

/* BUBBLES */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bubble {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(144,224,239,.4), rgba(0,180,216,.08));
  border: 1px solid rgba(144,224,239,.25);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .4; }
  100% { transform: translateY(-110vh) scale(.6); opacity: 0; }
}

/* SECTION COMMONS */
section { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 4rem; }
.section-label {
  font-size: .7rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1; margin-bottom: 1.5rem; color: var(--white);
}
.section-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1px var(--aqua); }
.section-body {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  line-height: 1.85; color: var(--text); font-weight: 300; margin-bottom: 1.2rem;
}

/* BUTTONS */
.btn-primary {
  display: inline-block; background: var(--aqua); color: var(--deep);
  padding: 1rem 2.5rem; font-size: .8rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: background .3s, transform .3s; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--foam); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block; border: 1.5px solid rgba(144,224,239,.5); color: var(--foam);
  padding: 1rem 2.5rem; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: border-color .3s, color .3s, transform .3s; font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover { border-color: var(--aqua); color: var(--aqua); transform: translateY(-2px); }

/* DIVIDER LINE */
.divider {
  border: none; border-top: 1px solid rgba(0,180,216,.15);
  margin: 0;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(0,180,216,.15);
  padding: 3rem 4rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  background: rgba(2,13,26,.8); position: relative; z-index: 2;
}
.footer-brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: .08em; color: var(--white); }
.footer-brand span { color: var(--aqua); font-size: .65rem; letter-spacing: .3em; font-family: 'DM Sans', sans-serif; display: block; margin-top: .2rem; font-weight: 300; }
.footer-copy { font-size: .75rem; color: rgba(204,232,244,.4); letter-spacing: .1em; }
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--aqua); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .container { padding: 0 1.5rem; }
  .page-hero { padding: 0 1.5rem 3rem; min-height: 35vh; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}

/* SHARED JS SNIPPET (copied to each page inline) */
