/*
  styles.css
  Theme: Plasma Dock
  Colors: Electric Purple, Cyan, Gunmetal
  Fonts: Orbitron, Share Tech Mono
*/

:root {
    --gunmetal: #121828;
    --dark-gunmetal: #0A0E1A;
    --light-gunmetal: #2a3447;
    --cyan: #00f6ff;
    --purple: #7d26c9;
    --magenta: #d900ff;
    --text-primary: #e0e5f5;
    --text-secondary: #a0a8c2;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Share Tech Mono', monospace;
    --header-height: 80px;
}

/* --- Global Styles & Resets --- */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-gunmetal);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

body,
.holographic-panel,
.cta-button,
.dock-item,
.testimonial-card,
input,
textarea,
select {
    --cursor-size: 40px;
    --cursor-blur: 10px;
    --cursor-color: var(--cyan);
}

a,
button,
input,
textarea,
select {
    cursor: none;
    /* Hide default cursor on interactive elements */
}

/* --- Custom Cursor --- */
#cursor-glow {
    position: fixed;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background-color: var(--cursor-color);
    box-shadow: 0 0 var(--cursor-blur) var(--cursor-color);
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    mix-blend-mode: screen;
}

/* --- Background Effects --- */

#plasma-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(45deg, var(--dark-gunmetal) 0%, #1c052d 50%, var(--dark-gunmetal) 100%);
    background-size: 200% 200%;
    animation: plasma-move 20s ease-in-out infinite;
    z-index: -2;
}

@keyframes plasma-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(0, 246, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 246, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-pan 10s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes grid-pan {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* --- Typography --- */

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 0 5px var(--cyan), 0 0 10px var(--cyan);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--cyan);
}

.highlight {
    color: var(--cyan);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    animation: title-underline 3s infinite;
}

@keyframes title-underline {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* --- Layout --- */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

main>section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* --- Header --- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 246, 255, 0.2);
    transition: top 0.3s ease-in-out;
}

.site-header.hidden {
    top: -var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--cyan));
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cyan);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    display: block;
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

/* --- Buttons --- */
.cta-button {
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    border: 1px solid var(--cyan);
    background: transparent;
    color: var(--cyan);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, border-color 0.4s ease;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--gunmetal);
    border-color: transparent;
    text-shadow: none;
}

.cta-button:hover::before {
    left: 0;
}

.header-cta {
    font-size: 0.8rem;
    padding: 10px 20px;
}

/* --- Hero Section --- */

.hero-section {
    padding: calc(var(--header-height) + 100px) 0 150px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-gunmetal);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--magenta);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--cyan), 2px 2px var(--magenta);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(45% 0 50% 0);
    }

    100% {
        clip-path: inset(5% 0 80% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(80% 0 10% 0);
    }

    100% {
        clip-path: inset(50% 0 30% 0);
    }
}


/* Hero 3D Object */
.hero-3d-object {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex: 0 0 40%;
}

.holographic-cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--cyan);
    background: rgba(0, 246, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    font-size: 2rem;
    font-family: var(--font-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 10px var(--cyan);
}

.front {
    transform: rotateY(0deg) translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}


/* --- Dock Section --- */

.plasma-dock {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    padding: 1rem;
    background: rgba(42, 52, 71, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 246, 255, 0.2);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.dock-item {
    position: relative;
    width: 80px;
    height: 80px;
    background: var(--gunmetal);
    border: 1px solid var(--light-gunmetal);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dock-item:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 0 15px var(--cyan), 0 0 30px var(--purple);
}

.dock-icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.dock-icon {
    font-size: 2.5rem;
    color: var(--cyan);
    transition: color 0.3s ease;
    width: 100%;
    height: 100%;
    display: block;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.dock-item:hover .dock-icon {
    color: #fff;
}

/* Service Icons (using pseudo-elements for simplicity, can be replaced with SVG/img) */
.icon-seo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2z'/%3E%3Cpath d='M12 18a6 6 0 1 0 0-12 6 6 0 0 0 0 12z'/%3E%3Cpath d='M22 12A10 10 0 0 0 12 2v10z'/%3E%3C/svg%3E");
}

.icon-ppc {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10'/%3E%3Cpath d='M12 12l8-4'/%3E%3Cpath d='M12 12l-4 8'/%3E%3Cpath d='M12 12l-8-4'/%3E%3Cpath d='M12 12l4 8'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3C/svg%3E");
}

.icon-social {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.icon-content {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E");
}


/* Holographic Panels */
.holographic-panel-container {
    position: relative;
    min-height: 300px;
    display: none;
    /* Hidden by default, shown by JS */
}

.holographic-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    background: rgba(18, 24, 40, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 246, 255, 0.3);
    padding: 2rem;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
    visibility: hidden;
}

.holographic-panel.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
}

.panel-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 2rem;
    line-height: 1;
    font-family: sans-serif;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.panel-close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.panel-content h3 {
    margin-bottom: 1.5rem;
    color: var(--cyan);
}

.panel-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.panel-content li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.5rem;
}

.panel-content li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

/* --- Process Section --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    animation: timeline-flow 5s linear infinite;
}

@keyframes timeline-flow {
    from {
        transform: translateY(-20%);
    }

    to {
        transform: translateY(20%);
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--dark-gunmetal);
    border: 3px solid var(--cyan);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 15px var(--cyan);
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--light-gunmetal);
    position: relative;
    border-radius: 6px;
    border: 1px solid rgba(0, 246, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--purple);
}

.timeline-content h3 {
    color: var(--cyan);
    margin-bottom: 0.5rem;
}


/* --- Live Report Section --- */
.report-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-panel {
    background: rgba(18, 24, 40, 0.5);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.dashboard-panel h4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    border-left: 1px solid var(--text-secondary);
    border-bottom: 1px solid var(--text-secondary);
    padding: 10px 0 0 10px;
}

.bar {
    width: 15%;
    background: linear-gradient(to top, var(--purple), var(--cyan));
    position: relative;
    animation: bar-grow 1.5s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.bar:nth-child(2) {
    animation-delay: 0.2s;
}

.bar:nth-child(3) {
    animation-delay: 0.4s;
}

.bar:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: center;
}

.kpi-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--cyan);
    display: block;
}

.kpi-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}


/* --- Testimonials Section --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-gunmetal);
    border: 1px solid rgba(0, 246, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px rgba(0, 246, 255, 0.2);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 30px;
}

.testimonial-quote::before {
    content: '“';
    font-family: var(--font-primary);
    font-size: 3rem;
    color: var(--cyan);
    position: absolute;
    left: 0;
    top: -10px;
    opacity: 0.5;
}

.testimonial-author {
    border-top: 1px solid rgba(0, 246, 255, 0.2);
    padding-top: 1rem;
    text-align: right;
}

.author-name {
    display: block;
    font-family: var(--font-primary);
    color: #fff;
}

.author-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


/* --- Footer --- */
.site-footer {
    background-color: var(--gunmetal);
    padding-top: 4rem;
    border-top: 2px solid var(--cyan);
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    margin-top: -100px;
    padding-top: 140px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.footer-heading {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
}

.footer-column a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--light-gunmetal);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- Contact & Legal Pages --- */
.page-header-section {
    padding: calc(var(--header-height) + 80px) 0 80px;
    text-align: center;
}

.contact-section,
.legal-content {
    padding: 0 0 100px;
}

.contact-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-form-wrapper {
    flex: 2;
    min-width: 300px;
}

.contact-info-wrapper {
    flex: 1;
    min-width: 300px;
    background: var(--gunmetal);
    border: 1px solid var(--light-gunmetal);
    border-radius: 10px;
    padding: 2rem;
}

.contact-info-block {
    margin-bottom: 2rem;
}

.contact-info-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cyan);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    background: var(--gunmetal);
    border: 1px solid var(--light-gunmetal);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: var(--font-secondary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 246, 255, 0.5);
}

.form-status-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-status-message.success {
    background-color: rgba(0, 255, 100, 0.1);
    border: 1px solid rgba(0, 255, 100, 0.5);
    color: #0f0;
}

.form-status-message.error {
    background-color: rgba(255, 0, 50, 0.1);
    border: 1px solid rgba(255, 0, 50, 0.5);
    color: #f00;
}

/* Legal Content Page Specifics */
.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--light-gunmetal);
    padding-bottom: 0.5rem;
    color: var(--cyan);
}

.legal-content ul {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}


/* --- Animations on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-object {
        order: 1;
        margin-bottom: 3rem;
    }

    .holographic-cube {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 1.5rem;
    }

    .front {
        transform: rotateY(0deg) translateZ(75px);
    }

    .back {
        transform: rotateY(180deg) translateZ(75px);
    }

    .right {
        transform: rotateY(90deg) translateZ(75px);
    }

    .left {
        transform: rotateY(-90deg) translateZ(75px);
    }

    .top {
        transform: rotateX(90deg) translateZ(75px);
    }

    .bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--gunmetal);
        transition: right 0.4s ease-in-out;
        padding-top: 100px;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header-cta {
        display: none;
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .contact-container {
        flex-direction: column;
    }
}