:root {
    --color-bg: #020205;
    --color-bg-alt: #0a0a12;
    --color-accent: #0044ff;
    --color-accent-light: #4488ff;
    --color-text: #FFFFFF;
    --color-text-muted: #a0a0ba;
    --color-border: rgba(255, 255, 255, 0.1);

    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    --spacing-container: 1240px;
    --spacing-padding: 2rem;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    /* Fallback */
    color: var(--color-text);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Context for absolute children */
    min-height: 100vh;
}

@keyframes ocean-flow {
    0% {
        background-position: 0% 50%;
        background-size: 150% 150%;
    }

    50% {
        background-size: 130% 130%;
        /* Breathing effect */
    }

    100% {
        background-position: 100% 50%;
        background-size: 150% 150%;
    }



}

/* Background Motion Container */
/* Background Motion Container */
.bg-motion-container {
    position: absolute;
    /* Scroll with page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;

    /* Moved from body */
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 68, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 68, 255, 0.1) 0%, transparent 40%);
    background-size: 150% 150%;
    animation: ocean-flow 25s ease-in-out infinite alternate;
}

.bg-layer {
    position: absolute;
    width: 100%;
    left: 0;
}

/* TOP LAYER: Surface */
.layer-top {
    top: 0;
    height: 30%;
    /* First 30% of page */
}

.bg-shape {
    position: absolute;
    background-image: url('bg-element.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.2;
    mix-blend-mode: screen;
    /* Removes black, keeps white */
    filter: blur(1px) brightness(1.2);
    /* Soften and brighten */
}

.shape-1 {
    width: 40vw;
    height: 40vw;
    top: 10%;
    right: -10%;
    animation: float-rotate 40s linear infinite;
}

.shape-2 {
    width: 30vw;
    height: 30vw;
    top: 20%;
    left: -5%;
    animation: float-reverse 45s linear infinite;
    opacity: 0.1;
}

/* MID LAYER: Fish & Bubbles */
.layer-mid {
    top: 20%;
    height: 60%;
    /* Spans more of the center */
    pointer-events: none;
}

.fish {
    position: absolute;
    opacity: 0.9;
    /* More visible as requested */
    filter: drop-shadow(0 0 10px rgba(0, 68, 255, 0.4));
}

.f1 {
    top: 30%;
    left: -100px;
    animation: swim-right 30s linear infinite;
}

.f2 {
    top: 50%;
    right: -100px;
    animation: swim-left 35s linear infinite;
}

.f3 {
    top: 70%;
    left: -100px;
    animation: swim-right 25s linear infinite;
    animation-delay: 5s;
}

.f4 {
    top: 40%;
    right: -100px;
    animation: swim-left 28s linear infinite;
    animation-delay: 2s;
}

/* Global Bubbles Container to allow full rise */
.bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(68, 136, 255, 0.8), rgba(0, 68, 255, 0.4));
    /* Blue colorful gradient */
    border: 1px solid rgba(100, 200, 255, 0.5);
    border-radius: 50%;
    bottom: -10%;
    /* Start below screen */
    box-shadow: 0 0 10px rgba(0, 68, 255, 0.6);
    /* Glow for visibility */
}

.b1 {
    width: 40px;
    height: 40px;
    left: 10%;
    animation: rise-full 25s infinite;
    animation-delay: 0s;
    opacity: 0.8;
}

.b2 {
    width: 20px;
    height: 20px;
    left: 20%;
    animation: rise-full 22s infinite;
    animation-delay: 2s;
    opacity: 0.7;
}

.b3 {
    width: 60px;
    height: 60px;
    left: 80%;
    animation: rise-full 30s infinite;
    animation-delay: 5s;
    opacity: 0.6;
}

.b4 {
    width: 30px;
    height: 30px;
    left: 90%;
    animation: rise-full 28s infinite;
    animation-delay: 1s;
    opacity: 0.8;
}

.b5 {
    width: 25px;
    height: 25px;
    left: 40%;
    animation: rise-full 20s infinite;
    animation-delay: 7s;
    opacity: 0.7;
}

.b6 {
    width: 35px;
    height: 35px;
    left: 50%;
    animation: rise-full 24s infinite;
    animation-delay: 3s;
    opacity: 0.6;
}

.b7 {
    width: 15px;
    height: 15px;
    left: 60%;
    animation: rise-full 18s infinite;
    animation-delay: 6s;
    opacity: 0.8;
}

.b8 {
    width: 45px;
    height: 45px;
    left: 30%;
    animation: rise-full 26s infinite;
    animation-delay: 4s;
    opacity: 0.6;
}


/* BOTTOM LAYER: Deep Sea */
.layer-bottom {
    bottom: 0;
    height: 20%;
    /* Lower section */
}

.deep-element {
    position: absolute;
    opacity: 0.6;
}

.anchor {
    bottom: 50px;
    right: 5%;
    transform: rotate(15deg);
    filter: drop-shadow(0 0 20px rgba(0, 68, 255, 0.2));
}

.treasure {
    bottom: 40px;
    left: 5%;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.1));
}

/* Animations */
@keyframes float-rotate {
    0% {
        transform: rotate(0deg) translate(0, 0);
    }

    33% {
        transform: rotate(120deg) translate(30px, 50px);
    }

    66% {
        transform: rotate(240deg) translate(-20px, 20px);
    }

    100% {
        transform: rotate(360deg) translate(0, 0);
    }
}

@keyframes float-reverse {
    0% {
        transform: rotate(360deg) translate(0, 0) scale(1);
    }

    50% {
        transform: rotate(180deg) translate(-40px, -30px) scale(1.1);
    }

    100% {
        transform: rotate(0deg) translate(0, 0) scale(1);
    }
}

@keyframes swim-right {
    0% {
        transform: translateX(-20vw) scaleX(-1);
    }

    /* Flip to face right */
    100% {
        transform: translateX(120vw) scaleX(-1);
    }
}

@keyframes swim-left {
    0% {
        transform: translateX(20vw) scaleX(1);
    }

    /* Default faces left */
    100% {
        transform: translateX(-120vw) scaleX(1);
    }
}

@keyframes rise-full {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 0.4;
    }

    100% {
        bottom: 110%;
        opacity: 0;
        transform: scale(1.2);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(0, 68, 255, 0.3);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #a0a0ba);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 var(--spacing-padding);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #002288 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 68, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 68, 255, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #002288 0%, var(--color-accent) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.glow-effect {
    position: relative;
}

/* Header */
.header {
    background: rgba(2, 2, 5, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    gap: 3rem;
}

.nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 220px 0 140px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at center, rgba(0, 68, 255, 0.2) 0%, transparent 60%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.highlight {
    background: linear-gradient(90deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-sub {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.8;
}

/* Section Common */
.section-dark {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.1rem;
}

/* Services & Features - Glass Cards */
.features-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item,
.service-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-item::before,
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item:hover,
.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-item:hover::before,
.service-card:hover::before {
    opacity: 1;
}

.icon-box {
    margin-bottom: 2rem;
    display: inline-flex;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(0, 68, 255, 0.1);
    color: var(--color-accent-light);
}

.icon-box svg {
    stroke: var(--color-accent-light);
}

.service-card h3,
.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Contact */
.section-contact {
    padding: 8rem 0;
    background: linear-gradient(0deg, #000 0%, #020205 100%);
    position: relative;
}

.section-contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #a0a0ba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 3rem;
    max-width: 400px;
}

.contact-links {
    margin-top: 3rem;
    gap: 1.5rem;
}

.contact-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 68, 255, 0.1);
}

/* Footer */
.footer {
    padding: 4rem 0;
    background-color: #000;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator */
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a svg {
    stroke: #666;
    transition: stroke 0.3s;
}

.social-links a:hover svg {
    stroke: white;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .nav {
        background: rgba(2, 2, 5, 0.95);
        backdrop-filter: blur(10px);
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav.active {
        height: auto;
        padding: 2rem;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header .btn {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

/* Service Link Button */
.service-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--color-accent-light);
}

.service-link:hover span {
    transform: translateX(5px);
}

/* Modal Styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* High z-index to sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: modalOpen 0.4s ease-out;
    color: var(--color-text);
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

#modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, #a0a0ba);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#modal-body p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #ccc;
}

#modal-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: #ccc;
}

#modal-body li {
    margin-bottom: 0.5rem;
}

.btn-modal {
    margin-top: 1.5rem;
    display: inline-block;
}

/* Enhanced CTA Button */
.btn-cta {
    background: linear-gradient(90deg, #0055ff, #00d4ff);
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(0, 85, 255, 0.6);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    /* Ensure text centers if width is 100% */
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 85, 255, 0.6);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 35px rgba(0, 212, 255, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 85, 255, 0.6);
    }
}

/* FAQ Styles */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(68, 136, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.faq-question .arrow {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    margin-bottom: 0;
    color: #ccc;
    line-height: 1.6;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
    /* Turns + into x */
}

.faq-item.active .faq-answer {
    /* Max-height is handled by JS for smooth slide */
    display: block;
    /* Ensure it's rendered for height calc */
}