@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    /* Brand Colors */
    --color-bg-base: #080C14;
    --color-bg-surface: #0E1520;
    --color-bg-card: #111827;
    --color-bg-glass: rgba(17, 24, 39, 0.7);
    --color-brand-blue: #1558B0;
    --color-brand-blue-glow: rgba(21, 88, 176, 0.35);
    --color-brand-blue-border: rgba(21, 88, 176, 0.5);
    --color-accent-gold: #FFD700;
    --color-accent-gold-muted: rgba(255, 215, 0, 0.15);
    --color-text-primary: #F0F4FF;
    --color-text-secondary: #8B9CB6;
    --color-text-muted: #4A5568;
    --color-border-subtle: rgba(255, 255, 255, 0.06);
    --color-border-blue: rgba(21, 88, 176, 0.4);

    /* Animation Constants */
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    background: var(--color-bg-base);
    color: var(--color-text-primary);
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    background-color: var(--color-bg-base);
    min-height: 100vh;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Global Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, .bebas {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 0.02em;
    font-weight: 400;
}

h1 {
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.quote {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--color-text-primary);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--color-brand-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.custom-cursor-ring {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--color-brand-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}

.cursor-hover .custom-cursor {
    width: 16px;
    height: 16px;
    background: var(--color-accent-gold);
}

.cursor-hover .custom-cursor-ring {
    width: 40px;
    height: 40px;
    border-color: var(--color-accent-gold);
    background: rgba(255, 215, 0, 0.1);
}

/* Glassmorphism Card */
.card-glass {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--color-border-blue);
    border-radius: 16px;
    padding: 2.5rem;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}

.card-glass:hover {
    border-color: rgba(21, 88, 176, 0.8);
    box-shadow: 0 0 30px rgba(21, 88, 176, 0.2);
    transform: translateY(-4px);
}

/* Section Tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 1.25rem;
}

.section-tag::before {
    content: "✦";
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent-gold);
    color: var(--color-bg-base);
    border: none;
    box-shadow: 0 0 0 rgba(255, 215, 0, 0);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    transform: scale(1.02);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding {
    padding: 120px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

/* Global Navigation */
.header {
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    font-weight: 400;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg-base);
    font-family: 'Bebas Neue', cursive;
    font-size: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
    padding: 8px 0;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: var(--color-accent-gold);
}

/* Services Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 300px;
    background: var(--color-bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-blue);
    border-radius: 12px;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--transition-smooth);
    display: grid;
    gap: 12px;
}

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

.dropdown-link {
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-accent-gold);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0A0D14;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.5s cubic-bezier(0.8, 0, 0.2, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-link {
    font-size: 32px;
    font-family: 'Bebas Neue', cursive;
    color: white;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Ticker */
.marquee-container {
    background: #060910;
    height: 60px;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    gap: 40px;
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    font-family: 'Bebas Neue', cursive;
    font-size: 22px;
    color: white;
    display: flex;
    align-items: center;
    gap: 40px;
}

.marquee-item span:nth-child(even) {
    color: var(--color-accent-gold);
}

/* Global Footer */
.footer {
    background: #060910;
    border-top: 1px solid rgba(21, 88, 176, 0.2);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 80px;
}

.footer-column h4 {
    color: var(--color-accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-link {
    font-size: 15px;
    color: var(--color-text-secondary);
}

.footer-link:hover {
    color: var(--color-accent-gold);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 2rem;
}

.social-circle {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    transition: 0.3s;
}

.social-circle:hover {
    border-color: var(--color-accent-gold);
    color: var(--color-accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 13px;
}

/* Portfolio Hover Overlay */
.portfolio-card {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: 16px;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 88, 176, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

/* Service Hero Illustration Components */
.abstract-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 10s infinite alternate;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--color-brand-blue);
    top: 10%;
    left: 20%;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--color-accent-gold);
    bottom: 20%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 30px) scale(1.1); }
}

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

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.mesh-blob {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: meshFlow 14s infinite alternate ease-in-out;
}

.blob-1 { background: var(--color-brand-blue); top: -10%; left: -10%; }
.blob-2 { background: #0D1B4B; bottom: -10%; right: -10%; animation-delay: -7s; }

@keyframes meshFlow {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(40px, 30px) rotate(15deg); }
}

.hero .container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Floating Animation */
.floating {
    animation: floating 4s infinite alternate ease-in-out;
}

@keyframes floating {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

/* Timeline/Process */
.process-container {
    padding-top: 60px;
    position: relative;
}

.process-line {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(21, 88, 176, 0.2);
    z-index: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    z-index: 1;
    position: relative;
}

.process-step {
    text-align: center;
}

.process-node {
    width: 48px;
    height: 48px;
    border: 2px solid var(--color-brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--color-bg-base);
    font-family: 'Bebas Neue', cursive;
    color: var(--color-accent-gold);
    font-size: 24px;
}

/* Testimonial Marquee */
.testimonial-marquee {
    display: flex;
    gap: 32px;
    animation: marquee-testimonial 40s linear infinite;
    width: max-content;
}

@keyframes marquee-testimonial {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    width: 320px;
    flex-shrink: 0;
}

/* Page Hero Template */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    background: var(--color-bg-surface);
    position: relative;
    overflow: hidden;
}
