:root {
    --bg-hero: #030B18;
    --bg-alt-light: #F8FAFF;
    --bg-alt-dark: #0A1628;
    --primary: #0EA5E9;
    --accent: #38BDF8;
    --text-light: #E2F4FF;
    --text-dark: #0F1C2E;
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --glow: 0 0 20px rgba(14, 165, 233, 0.5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-alt-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent);
}

.btn-glow {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-glow:hover {
    background-color: var(--accent);
    box-shadow: 0 0 35px rgba(14, 165, 233, 0.6);
    transform: translateY(-2px);
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, white 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-glow:hover::before {
    opacity: 0.1;
}

/* Ripple Effect */
.ripple::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 600ms linear;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    mix-blend-mode: luminosity;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(3,11,24,0.9) 0%, rgba(3,11,24,0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 100px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.eyebrow-line {
    width: 2rem;
    height: 1px;
    background-color: var(--primary);
}

.eyebrow-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 8rem);
    color: white;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.text-primary {
    color: var(--primary);
}

.accent-phrase-container {
    margin-bottom: 2rem;
}

.accent-phrase {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.text-accent {
    color: var(--accent);
}

.accent-line-container {
    width: 280px;
    max-width: 100%;
    height: 2px;
}

.accent-line {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
    border-radius: 9999px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-body {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.65);
    max-width: 36rem;
    line-height: 1.625;
}

.wave-divider {
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

/* Typography & Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.text-light {
    color: var(--text-light) !important;
}

/* Services */
.services {
    padding: 0 0 4rem 0;
    background-color: var(--bg-alt-light);
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.services-intro {
    font-family: var(--font-body);
    color: #6B7280;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.625;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    background: #FFFFFF;
    border-radius: 1rem;
    border-top: 3px solid transparent;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.15);
    border-top-color: var(--primary);
}

.card-image-wrapper {
    position: relative;
    height: 13rem;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.card-icon-container {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.service-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bg-hero);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.625;
    margin-bottom: 1.25rem;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4B5563;
}

.check-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.list-text {
    font-family: var(--font-body);
}

/* Why Us Section */
.why-us {
    padding: 0 0 4rem 0;
    background-color: #0A1628;
    position: relative;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
}

.glass-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(14, 165, 233, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.glass-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--primary);
}

.glass-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.75rem;
}

.glass-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.625;
}

.cta-strip {
    background: linear-gradient(to right, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-strip {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.25rem;
}

.cta-desc {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.cta-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Gallery (Before / After) */
.gallery {
    padding: 0 0 4rem 0;
    background-color: var(--bg-alt-light);
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wave-top {
    bottom: auto;
    top: -1px;
    transform: rotate(180deg);
}
.wave-top svg {
    fill: var(--bg-alt-dark);
    animation: wave-move 12s linear infinite alternate-reverse;
}

.ba-slider {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.ba-labels {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 20;
}

.label-before, .label-after {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    color: white;
}

.label-before {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.label-after {
    background: var(--primary);
}

.ba-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-wrapper {
    width: 50%;
    overflow: hidden;
    border-right: 2px solid var(--primary);
}

.before {
    width: 1000px; /* Should match max-width of slider approx */
    height: 100%;
    object-fit: cover;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary);
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: var(--glow);
}

.ba-handle-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--bg-hero);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--glow);
}

.ba-handle-arrows::before, .ba-handle-arrows::after {
    content: "";
    border: solid var(--text-light);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.ba-handle-arrows::before {
    transform: rotate(135deg);
    margin-right: 4px;
}

.ba-handle-arrows::after {
    transform: rotate(-45deg);
    margin-left: 4px;
}

/* Videos Masonry */
.videos {
    padding: 8rem 0;
    background-color: var(--bg-alt-light);
}

.video-masonry {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 2rem;
}

.video-card {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.main-video {
    grid-row: 1 / -1;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, var(--bg-hero), var(--bg-alt-dark));
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--bg-hero);
    padding: 3rem 0;
    text-align: center;
    color: rgba(226, 244, 255, 0.5);
    font-family: var(--font-mono);
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Split Text Animation Classes */
.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.char.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .video-masonry {
        grid-template-columns: 1fr;
        grid-template-rows: 400px 250px 250px;
    }
    .main-video {
        grid-row: auto;
    }
    .hero-title {
        font-size: 5rem;
    }
}
/* Scroll to Top Button */
.go-top {
    position: fixed;
    bottom: 2rem;
    right: 6.5rem; /* Next to whatsapp */
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--bg-alt-light);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.go-top:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    opacity: 1;
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(3, 11, 24, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    min-width: 260px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.dropdown-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 1.75rem;
}
