/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Glowing Cursor */
html, body {
    cursor: none; /* Hide default cursor */
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(107, 255, 250, 0.8) 0%, rgba(107, 255, 250, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    box-shadow: 
        0 0 10px rgba(107, 255, 250, 0.6),
        0 0 20px rgba(107, 255, 250, 0.4),
        0 0 30px rgba(107, 255, 250, 0.2);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Cursor hover effects */
.custom-cursor.hover {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(107, 255, 250, 0.6) 0%, rgba(107, 255, 250, 0.3) 40%, transparent 70%);
    box-shadow: 
        0 0 15px rgba(107, 255, 250, 0.8),
        0 0 30px rgba(107, 255, 250, 0.5),
        0 0 45px rgba(107, 255, 250, 0.3);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Custom Font */
@font-face {
    font-family: 'Fontspring Theseasons';
    src: url('./assets/Fontspring-DEMO-theseasons-bdit.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bahnschrift';
    src: url('./assets/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cropaso';
    src: url('./assets/FontsFree-Net-Cropaso.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #0d1f26;
    --bg-secondary: #0a1f2e;
    --bg-card: #0f1115;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #6b7280;
    --accent-blue: #6BFFFA;
    --accent-teal: #50c8dc;
    --accent-glow: rgba(107, 255, 250, 0.3);
    --border-color: rgba(80, 200, 220, 0.15);
    --shadow: rgba(0, 0, 0, 0.5);
    --gradient-overlay: linear-gradient(135deg, rgba(14, 15, 18, 0.7), rgba(26, 29, 35, 0.8));
    --arrow-opacity: 0.8; /* Custom property for arrow container opacity */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: url('./assets/background.png') center/cover no-repeat fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

/* Blur overlay for entire body except hero */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: transparent;
    border: none;
    transition: none;
}

/* Commented out old navbar styles */
/* .navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    background: rgba(14, 15, 18, 0.35);
    border-bottom: 1px solid var(--border-color);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
} */

/* Commented out old navbar scrolled styles */
/* 
.navbar.is-scrolled {
    padding: 16px 0;
    background: rgba(14, 15, 18, 0.6);
    border-bottom-color: rgba(127, 232, 255, 0.18);
}
*/

/* Frosted Glass Navbar */
.frosted-navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 32px;
    display: flex;
    gap: 40px;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 40px;
    z-index: 1000;
    isolation: isolate;
    box-shadow: none;
    transition: all 0.3s ease;
}

.frosted-navbar:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.frosted-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 6px 18px;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 20px;
}

.frosted-nav-link-active {
    background: rgba(80, 200, 220, 0.15);
    color: rgba(255, 255, 255, 1);
}

.frosted-nav-link:hover:not(.frosted-nav-link-active),
.frosted-nav-link:focus:not(.frosted-nav-link-active) {
    color: rgba(255, 255, 255, 1);
    background: rgba(80, 200, 220, 0.08);
    transform: translateY(-1px);
}


/* Schedule a Call Button */
.schedule-call-btn {
    position: fixed;
    top: 20px;
    right: 40px;
    z-index: 1000;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 10px 30px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'Cropaso', 'Bahnschrift', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.schedule-call-btn:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    color: rgba(255, 255, 255, 1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 250px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 4px;
    transition: color 0.3s ease, padding 0.3s ease;
    position: relative;
}

.is-scrolled .nav-link {
    padding: 4px 4px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 900;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Interactive 3D Arrow */
#arrow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
    opacity: var(--arrow-opacity, 0.8); /* Use a custom property for opacity */
}

#arrow-container canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    z-index: -1;
    transform: scale(1.0);
}

/* Mobile-specific hero video/image zoom out */
@media (max-width: 768px) {
    .hero-video,
    .hero-image {
        transform: scale(0.95);
        width: 105.26%; /* Compensate for the scale to maintain full coverage */
        height: 105.26%; /* 100% / 0.95 = 105.26% */
        top: -2.63%; /* Center the scaled video */
        left: -2.63%; /* (105.26% - 100%) / 2 = 2.63% */
    }
}

/* Even smaller devices might need more zoom out */
@media (max-width: 480px) {
    .hero-video,
    .hero-image {
        transform: scale(0.92);
        width: 108.7%; /* 100% / 0.92 = 108.7% */
        height: 108.7%;
        top: -4.35%; /* (108.7% - 100%) / 2 = 4.35% */
        left: -4.35%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    z-index: 2;
    position: relative;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 700px;
    margin-top: 80px;
}

.celestia-logo {
    font-family: 'Cropaso', 'Bahnschrift', 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.2em;
    margin: 0;
    line-height: 1;
}

.hero-text-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-subtitle-small {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    margin: 0;
    line-height: 1.4;
}

.hero-subtitle-large {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #6BFFFA;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
}

.hero-description {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.875rem, 1vw, 1rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 0 0;
    max-width: 500px;
}

.hero-advantage-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 20px;
}

.accent-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, #6BFFFA, transparent);
    flex-shrink: 0;
}

.advantage-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.advantage-small {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    margin: 0;
}

.advantage-large {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #6BFFFA;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.2;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    position: relative;
    width: clamp(300px, 40vw, 500px);
    height: clamp(300px, 40vw, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

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

/* Hero logo styles removed */

/* Agency Section */
.agency-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.agency-content {
    position: relative;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.agency-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.agency-arrow #arrow-container {
    position: relative;
    width: 250px;
    height: 250px;
    pointer-events: none;
}

.agency-text {
    max-width: 600px;
}

.agency-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.agency-subtitle {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    font-style: italic;
    color: #ffffff;
    margin-top: 60px;
    margin-bottom: 40px;
    line-height: 1;
    letter-spacing: 0.15em;
}

.agency-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ==================================
   WORK DIAGONAL SECTION
   Two Triangular Sections Split Diagonally
   ================================== */

.work-diagonal-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: block;
    overflow: hidden;
}

/* Left Triangle: THE EXPLAINER */
.explainer-diagonal {
    background: rgba(21, 21, 21, 0.45);
    backdrop-filter: blur(8px) brightness(0.8);
    -webkit-backdrop-filter: blur(8px) brightness(0.8);
    clip-path: polygon(0 0, calc(100% - 2px) 0, 0 calc(100% - 2px));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-top: 4%;
    padding-bottom: 35%;
    justify-content: flex-start;
    padding-left: 8%;
    padding-right: 45%;
    z-index: 2;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Right Triangle: OUR SHOWREEL */
.showreel-diagonal {
    background: rgba(21, 21, 21, 0.45);
    backdrop-filter: blur(8px) brightness(0.8);
    -webkit-backdrop-filter: blur(8px) brightness(0.8);
    clip-path: polygon(calc(100% - 2px) 2px, 100% 100%, 2px calc(100% - 2px));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-top: 33%;
    padding-bottom: 7%;
    justify-content: flex-end;
    padding-left: 45%;
    padding-right: 8%;
    z-index: 1;
    overflow: hidden;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Video Thumbnail Wrapper */
.video-thumbnail-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 1;
}

.diagonal-thumbnail {
    display: none;
}


/* Play Overlay Icon */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: rgba(50, 184, 198, 0.2);
    border: 3px solid rgba(50, 184, 198, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: rgba(50, 184, 198, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding-left: 6px;
}

.video-thumbnail-wrapper:hover .play-overlay {
    background: rgba(50, 184, 198, 0.3);
    border-color: rgba(50, 184, 198, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(50, 184, 198, 0.5);
}

.section-content {
    max-width: 400px;
    width: 100%;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.section-content * {
    pointer-events: auto;
}

.explainer-diagonal .section-content {
    text-align: left;
}

.showreel-diagonal .section-content {
    text-align: right;
}

.section-title {
    margin-bottom: 28px;
}

.title-top {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: 700;
    color: #f5f5f5;
    display: block;
    line-height: 1.2;
    margin-bottom: 0.1px;
}

.title-main {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(3.2rem, 5.5vw, 4.8rem);
    font-weight: bold;
    font-style: normal;
    color: #32b8c6;
    display: block;
    line-height: 1;
}

.section-description {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.85);
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .work-diagonal-section {
        display: flex;
        flex-direction: column;
    }
    
    .explainer-diagonal,
    .showreel-diagonal {
        position: relative;
        clip-path: none;
        width: 100%;
        height: auto;
        min-height: 50vh;
        padding: 80px 40px;
        justify-content: center;
    }
    
    .explainer-diagonal .section-content,
    .showreel-diagonal .section-content {
        text-align: center;
        max-width: 100%;
    }
    
    .showreel-diagonal::before {
        display: none;
    }
}

/* Services Section */
.services-section {
    padding: 60px 0 120px 0;
    position: relative;
    z-index: 2;
    background: rgba(13, 47, 56, 0.4);
}

.services-arrow {
    position: absolute;
    top: 60px;
    width: 252px;
    height: 252px;
    z-index: 10;
}

.services-arrow-left {
    left: calc(50% - 520px);
}

.services-arrow-right {
    right: calc(50% - 520px);
}

#arrow-container-left,
#arrow-container-right {
    position: relative;
    width: 252px;
    height: 252px;
    pointer-events: auto;
    overflow: visible;
}

#arrow-container-left canvas,
#arrow-container-right canvas {
    width: 252px !important;
    height: 252px !important;
    display: block;
}

.sv-container,
.services-title,
.services-grid {
    position: relative;
}

.services-title {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: bold;
    font-style: italic;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-our {
    font-family: 'Roboto', sans-serif;
    color: white;
    font-style: normal;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.services-main {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    color: var(--accent-blue);
    font-style: italic;
    font-weight: bold;
    display: block;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: rgba(21, 21, 21, 0.45);
    backdrop-filter: blur(8px) brightness(0.8);
    -webkit-backdrop-filter: blur(8px) brightness(0.8);
    border: 1px solid rgba(80, 200, 220, 0.15);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(80, 200, 220, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(80, 200, 220, 0.05);
    border-color: rgba(80, 200, 220, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(80, 200, 220, 0.2);
}

.service-card h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-card p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* New Services Section Styling */
.sv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sv-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-top: 0px;
}

.sv-eyebrow {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #6BFFFA;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 0.6;
    letter-spacing: 0.02em;
}

.sv-our {
    color: #ffffff;
    display: block;
}

.sv-title {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.sv-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.sv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.sv-card {
    background: rgba(21, 21, 21, 0.45);
    backdrop-filter: blur(8px) brightness(0.8);
    -webkit-backdrop-filter: blur(8px) brightness(0.8);
    border: 2px solid rgba(107, 255, 250, 0.3);
    border-radius: 20px;
    padding: 30px 24px;
    min-height: 180px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
}

.sv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 255, 250, 0.1), transparent);
    transition: left 0.6s;
}

.sv-card:hover::before {
    left: 100%;
}

.sv-card:hover,
.sv-card:focus {
    transform: translateY(-3px);
    background: rgba(107, 255, 250, 0.05);
    border-color: rgba(107, 255, 250, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 30px rgba(107, 255, 250, 0.2);
    outline: none;
}

.sv-icon {
    display: none;
}

.sv-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.sv-card-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.sv-cta {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(80, 200, 220, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.sv-cta-text {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    color: var(--text-primary);
    max-width: 600px;
    line-height: 1.4;
}

.sv-button {
    display: inline-block;
    background: rgba(80, 200, 220, 0.2);
    border: 2px solid rgba(80, 200, 220, 0.5);
    color: #50c8dc;
    padding: 16px 40px;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sv-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(80, 200, 220, 0.2), transparent);
    transition: left 0.6s;
}

.sv-button:hover::before {
    left: 100%;
}

.sv-button:hover {
    background: rgba(80, 200, 220, 0.3);
    border-color: #50c8dc;
    box-shadow: 0 0 30px rgba(80, 200, 220, 0.4);
    transform: translateY(-2px);
    color: #6BFFFA;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-content {
    position: relative;
    background: rgba(21, 21, 21, 0.45);
    backdrop-filter: blur(8px) brightness(0.8);
    -webkit-backdrop-filter: blur(8px) brightness(0.8);
    border: 2px solid rgba(50, 184, 198, 0.4);
    border-radius: 30px;
    padding: 80px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #6BFFFA;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.contact-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    line-height: 1.6;
}

.contact-email-btn {
    display: inline-block;
    background: rgba(50, 184, 198, 0.3);
    border: 2px solid rgba(50, 184, 198, 0.6);
    color: #ffffff;
    padding: 22px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Cropaso', 'Bahnschrift', 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.contact-email-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(50, 184, 198, 0.3), transparent);
    transition: left 0.6s;
}

.contact-email-btn:hover::before {
    left: 100%;
}

.contact-email-btn:hover {
    background: rgba(50, 184, 198, 0.4);
    border-color: #6BFFFA;
    box-shadow: 0 0 40px rgba(50, 184, 198, 0.5);
    transform: translateY(-2px);
    color: #6BFFFA;
}

/* Legacy contact-btn class for backwards compatibility */
.contact-btn {
    display: inline-block;
    background: rgba(80, 200, 220, 0.2);
    border: 2px solid rgba(80, 200, 220, 0.5);
    color: #50c8dc;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Cropaso', 'Bahnschrift', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(80, 200, 220, 0.2), transparent);
    transition: left 0.6s;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    background: rgba(80, 200, 220, 0.3);
    border-color: #50c8dc;
    box-shadow: 0 0 30px rgba(80, 200, 220, 0.4);
    transform: translateY(-2px);
    color: #6BFFFA;
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.footer p {
    font-family: 'Roboto', sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    position: relative;
}

/* Fullscreen Video Overlay */
.fullscreen-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.fullscreen-video-container {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-fullscreen {
    position: absolute;
    top: -50px;
    right: -10px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-fullscreen:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

/* Add hover effect to showreel video */
.showreel-video {
    transition: all 0.3s ease;
}

.showreel-video:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(107, 255, 250, 0.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-arrow {
        display: none;
    }
    
    .sv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Frosted navbar mobile styles */
    .frosted-navbar {
        top: 15px;
        left: 20px;
        right: 20px;
        padding: 10px 20px;
        gap: 20px;
        justify-content: space-between;
    }
    
    .frosted-nav-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .schedule-call-btn {
        top: 80px;
        right: 20px;
        font-size: 12px;
        padding: 8px 20px;
    }
    
    /* Hero section mobile */
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-left {
        align-items: flex-start;
    }
    
    .scroll-indicator {
        bottom: 20px;
        right: 30px;
        font-size: 10px;
    }
    
    /* Mobile menu: unify into a centered stack below navbar */
    .nav-left,
    .nav-right {
        position: fixed;
        left: 0;
        right: 0;
        top: 64px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(14, 15, 18, 0.98);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        width: 100%;
        text-align: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 18px;
        border-top: 1px solid var(--border-color);
        z-index: 950;
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
    }

    .nav-left.active,
    .nav-right.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .agency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .showreel-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* Frosted navbar for very small screens */
    .frosted-navbar {
        top: 10px;
        left: 15px;
        right: 15px;
        padding: 8px 15px;
        gap: 15px;
    }
    
    .frosted-nav-link {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .schedule-call-btn {
        top: 70px;
        right: 15px;
        font-size: 11px;
        padding: 6px 16px;
    }
    
    /* Hero section small mobile */
    .hero-content {
        padding: 0 20px;
    }
    
    .celestia-logo {
        font-size: 2rem;
    }
    
    .accent-line {
        height: 80px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .agency-section,
    .explainer-section,
    .showreel-section,
    .services-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .explainer-content,
    .showreel-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-arrow {
        display: none;
    }
    
    .sv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .sv-card {
        padding: 30px 20px;
        min-height: 150px;
    }
    
    .sv-cta {
        padding: 40px 24px;
    }
    
    .contact-content {
        padding: 40px 24px;
    }
}
