/* ==========================================
   Sophisticated Design Tokens & System
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-darkest: #F0F9FF; /* Crisp light ice-blue background */
    --bg-dark: #FFFFFF;    /* Clean white panels */
    --bg-card: #E0F2FE;    /* Soft ice-blue cards */
    --accent-teal: #00B4D8; /* Primary brand accent - vibrant swimming pool water cyan */
    --accent-blue: #0077B6; /* Secondary highlight - deep athletic ocean blue */
    --text-white: #03045E;  /* Very deep indigo/navy for high-contrast headings */
    --text-muted: #457B9D;  /* Ocean slate for secondary labels */
    --text-body: #1D3557;   /* Deep slate for highly readable body text */
    --border-thin: rgba(0, 180, 216, 0.15);
    --border-hover: rgba(0, 180, 216, 0.4);
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   Reset & Base Setup
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darkest);
}

body {
    background-color: var(--bg-darkest);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .logo {
    color: var(--text-white);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.distort-on-hover.is-hovered {
    filter: url(#water-wave-hover);
    will-change: filter;
}

.text-gradient {
    background: linear-gradient(135deg, #03045E 20%, #0077B6 60%, #00B4D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-teal);
    margin-bottom: 0.75rem;
    display: inline-block;
}

/* ==========================================
   Navigation (Sleek Glassmorphic Floating Header)
   ========================================== */
header {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(224, 242, 254, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 150, 199, 0.15);
    border-radius: 100px;
    transition: var(--transition-smooth);
}

header.scrolled {
    top: 0.75rem;
    background: rgba(240, 249, 255, 0.9);
    border-color: var(--border-thin);
    box-shadow: 0 10px 30px rgba(0, 150, 199, 0.08);
}

.nav-container {
    padding: 1rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--accent-teal);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* ==========================================
   Hero Section (Premium Water Visuals & Clean Typography)
   ========================================== */
.hero {
    min-height: 100vh;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0, 150, 199, 0.1) 0%, transparent 60%),
                linear-gradient(180deg, rgba(240, 249, 255, 0.85) 0%, var(--bg-darkest) 100%),
                url('assets/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 60px 2rem;
    overflow: hidden;
}

#water-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.75;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    z-index: 5;
    position: relative;
}

.hero-content {
    text-align: left;
    filter: url(#water-ripple); /* Apply water ripple filter */
}

.hero h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: 1.35rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 5;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    bottom: 5%;
    animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-cutout {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 119, 182, 0.15));
    animation: float-cutout 6s ease-in-out infinite;
}

@keyframes float-cutout {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.btn-primary {
    background-color: var(--accent-teal);
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid var(--accent-teal);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-teal);
    box-shadow: 0 0 25px rgba(0, 150, 199, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: var(--transition-smooth);
    border: 1px solid rgba(3, 4, 94, 0.2);
}

.btn-secondary:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
}

/* Wave Dividers */
.wave-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
}

.waves {
    position: relative;
    width: 100%;
    height: 12vh;
    min-height: 80px;
    max-height: 150px;
}

.parallax-waves > use {
    animation: move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite;
    transition: transform 0.3s ease;
}

.parallax-waves > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.parallax-waves > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.parallax-waves > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.parallax-waves > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 18s;
}

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

/* ==========================================
   Section Layouts
   ========================================== */
section {
    padding: 10rem 2rem 15rem 2rem;
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--bg-darkest);
}

.section-light {
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 6rem;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
}

/* ==========================================
   Professional Timeline / Journey Section
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: flex-start;
}

.about-sticky {
    position: sticky;
    top: 8rem;
}

.about-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-thin);
    box-shadow: 0 15px 40px rgba(0, 180, 216, 0.08);
}

.about-image-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
    transform: scaleX(-1);
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover img {
    transform: scaleX(-1) scale(1.02);
}

.bio-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-white);
    border: 1px solid rgba(0, 180, 216, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline {
    position: relative;
    padding-left: 3.5rem;
    border-left: 2px dashed rgba(0, 180, 216, 0.25);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-dark);
    border: 1px solid rgba(0, 180, 216, 0.08);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 180, 216, 0.02);
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    border-color: rgba(0, 180, 216, 0.25);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.08);
    transform: translateY(-3px);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -4.05rem;
    top: 2.2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--accent-teal);
    border: 3px solid var(--bg-darkest);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.4);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent-blue);
    transform: scale(1.25);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.7);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-blue);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.timeline-desc {
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Milestones & Stats Strip
   ========================================== */
.milestones-strip {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darkest) 100%);
    border-top: 1px solid rgba(0, 150, 199, 0.15);
    border-bottom: 1px solid rgba(0, 150, 199, 0.15);
    padding: 6rem 2rem;
}

.stats-grid-sleek {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item-sleek {
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.stat-item-sleek:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: rgba(0, 150, 199, 0.15);
}

.stat-num-sleek {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-sleek {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-teal);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.stat-desc-sleek {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Coaching Services Section
   ========================================== */
.coaching-grid-sleek {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.coaching-card-sleek {
    background-color: var(--bg-dark);
    border: 1px solid rgba(0, 150, 199, 0.1);
    border-radius: 8px;
    padding: 3.5rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 150, 199, 0.03);
}

.coaching-card-sleek::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-teal), transparent);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.coaching-card-sleek:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background-color: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 150, 199, 0.08);
}

.coaching-card-sleek:hover::before {
    transform: scaleX(1);
}

.card-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 150, 199, 0.05);
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    line-height: 1;
    transition: var(--transition-smooth);
}

.coaching-card-sleek:hover .card-num {
    color: rgba(0, 150, 199, 0.1);
}

.coaching-icon-sleek {
    font-size: 2.2rem;
    color: var(--accent-teal);
    margin-bottom: 2rem;
}

.coaching-card-sleek h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.coaching-card-sleek p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   Premium Gallery Grid
   ========================================== */
.gallery-grid-sleek {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/11;
    border: 1px solid rgba(0, 150, 199, 0.15);
}

.gallery-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem 1.5rem 2rem;
    background: linear-gradient(0deg, rgba(240, 249, 255, 0.95) 0%, rgba(240, 249, 255, 0.5) 70%, transparent 100%);
    transform: translateY(0);
    opacity: 1;
    transition: var(--transition-smooth);
}

.gallery-info h4 {
    font-size: 1.15rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.gallery-info p {
    font-size: 0.85rem;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* ==========================================
   Editorial Testimonials
   ========================================== */
.testimonials-grid-sleek {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.testimonial-card-sleek {
    background-color: var(--bg-dark);
    border: 1px solid rgba(0, 150, 199, 0.1);
    padding: 4rem 3rem;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 150, 199, 0.02);
}

.testimonial-card-sleek::after {
    content: '“';
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    font-size: 6rem;
    color: rgba(0, 150, 199, 0.06);
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-quote-sleek {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-author-sleek {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.author-meta h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.author-meta p {
    font-size: 0.85rem;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ==========================================
   Minimal Contact Area
   ========================================== */
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact-left h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-left p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-anchor {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-white);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    background-color: var(--bg-dark);
    border: 1px solid rgba(0, 150, 199, 0.15);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 150, 199, 0.02);
}

.contact-anchor:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
    background-color: var(--bg-card);
    box-shadow: 0 5px 20px rgba(0, 150, 199, 0.08);
}

.contact-anchor i {
    font-size: 1.5rem;
    color: var(--accent-teal);
}

.contact-anchor-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.contact-anchor-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================
   Footer
   ========================================== */
    footer {
    background-color: var(--bg-darkest);
    padding: 6rem 2rem 4rem 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-nav a:hover {
    color: var(--accent-teal);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 150, 199, 0.1);
    padding-top: 2.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   Utilities & Custom Animations
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-content {
        text-align: center;
    }
    .cta-group {
        justify-content: center;
    }
    .hero-cutout {
        max-height: 50vh;
    }
    .about-grid, .contact-row {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-sticky {
        position: static;
    }
    .stats-grid-sleek {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .stat-item-sleek:nth-child(2n)::after {
        display: none;
    }
    .coaching-grid-sleek, .gallery-grid-sleek {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid-sleek {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
    }
    
    header.scrolled {
        top: 0;
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-darkest);
        border-bottom: 1px solid rgba(0, 150, 199, 0.15);
        flex-direction: column;
        padding: 2.5rem;
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero h1 {
        font-size: 3.25rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .stats-grid-sleek {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stat-item-sleek::after {
        display: none !important;
    }
    
    .coaching-grid-sleek, .gallery-grid-sleek {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-dot {
        left: -2.55rem;
        top: 2.2rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================
   Custom Water Cursor Styles
   ========================================== */
.custom-cursor-dot-wrapper,
.custom-cursor-ring-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    display: none;
}

@media (pointer: fine) {
    .custom-cursor-dot-wrapper,
    .custom-cursor-ring-wrapper {
        display: block;
    }
    
    body, a, button, .btn-primary, .btn-secondary, .timeline-item, .gallery-box {
        cursor: none;
    }
}

.custom-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-teal);
    border-radius: 50%;
    margin-top: -4px;
    margin-left: -4px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.custom-cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--accent-teal);
    border-radius: 50%;
    margin-top: -18px;
    margin-left: -18px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                background-color 0.3s ease,
                transform 0.2s ease;
}

/* Hover States */
.custom-cursor-dot.hovered {
    transform: scale(0.4);
    background-color: var(--accent-blue);
}

.custom-cursor-ring.hovered {
    width: 52px;
    height: 52px;
    margin-top: -26px;
    margin-left: -26px;
    border-color: var(--accent-blue);
    background-color: rgba(0, 180, 216, 0.08);
}

/* Click Active States */
.custom-cursor-ring.active {
    transform: scale(0.7);
    background-color: rgba(0, 180, 216, 0.2);
    border-color: var(--text-white);
}

/* Cursor Water Bubbles Trail */
.cursor-bubble {
    position: absolute;
    pointer-events: none;
    z-index: 9998;
    border: 1px solid rgba(0, 180, 216, 0.5);
    background-color: rgba(224, 242, 254, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset -1px -1px 3px rgba(255, 255, 255, 0.7), 0 0 5px rgba(0, 180, 216, 0.3);
    animation: float-bubble 1.2s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes float-bubble {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.4);
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.5);
    }
}
