/* ---
VHS Glitch Universe Theme
--- */

/* 1. CSS VARIABLES
-------------------------------------------------- */
:root {
    --color-purple-haze: #4A0D67;
    --color-deep-red: #FF003C;
    --color-cyber-blue: #00F6FF;
    --color-background: #050208;
    --color-text: #E0E0E0;
    --color-text-dark: #A0A0A0;
    --color-border: rgba(255, 0, 60, 0.2);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --header-height: 80px;
    --transition-fast: 0.2s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* 2. BASE & RESET
-------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    /* Static noise overlay */
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAAYklEQVRIx+3MyQEAIAwDMCVKO6z97Z4AYjsMAeABIEGURjjIIHAYAAAAAElFTkSuQmCC');
    opacity: 0.04;
    pointer-events: none;
    z-index: 9999;
    animation: static 0.1s infinite;
}

.vhs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 3px, 4px 100%;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0) 0,
            rgba(0, 0, 0, 0.3) 1px,
            rgba(0, 0, 0, 0) 2px);
    pointer-events: none;
    z-index: 9997;
    animation: scan 10s linear infinite;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
}

p {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

/* 3. LAYOUT & HELPERS
-------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-deep-red);
    border-color: var(--color-deep-red);
    color: #fff;
}

.btn-primary:hover {
    color: var(--color-deep-red);
    background: transparent;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-cyber-blue);
    color: var(--color-cyber-blue);
}

.btn-secondary:hover {
    color: var(--color-background);
    background-color: var(--color-cyber-blue);
}

.btn-block {
    display: block;
    text-align: center;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--color-cyber-blue);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text-dark);
}

/* 4. GLITCH & ANIMATION EFFECTS
-------------------------------------------------- */
@keyframes static {

    0%,
    100% {
        transform: translate(0, 0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100vh;
    }
}

@keyframes glitch-anim {
    0% {
        clip-path: inset(89% 0 1% 0);
    }

    20% {
        clip-path: inset(34% 0 6% 0);
    }

    40% {
        clip-path: inset(36% 0 54% 0);
    }

    60% {
        clip-path: inset(57% 0 32% 0);
    }

    80% {
        clip-path: inset(6% 0 78% 0);
    }

    100% {
        clip-path: inset(89% 0 1% 0);
    }
}

@keyframes flicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.glitch {
    position: relative;
    color: var(--color-cyber-blue);
    animation: flicker 2s infinite step-end;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    overflow: hidden;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-deep-red);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-cyber-blue), 2px 2px var(--color-deep-red);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-btn {
    position: relative;
}

.glitch-btn span {
    display: block;
    position: relative;
    z-index: 2;
}

.glitch-btn:hover::before,
.glitch-btn:hover::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glitch-btn:hover::before {
    color: var(--color-deep-red);
    left: 2px;
    animation: glitch-anim 0.2s infinite linear alternate-reverse;
    z-index: 1;
}

.glitch-btn:hover::after {
    color: var(--color-cyber-blue);
    left: -2px;
    animation: glitch-anim 0.3s infinite linear alternate-reverse;
    z-index: 1;
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* 5. HEADER & NAVIGATION
-------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(5, 2, 8, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: top var(--transition-slow);
}

.header.header--hidden {
    top: -var(--header-height);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav__logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-family: var(--font-secondary);
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-deep-red);
    text-shadow: 0 0 5px var(--color-deep-red), 0 0 10px var(--color-cyber-blue);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-deep-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-slow);
}

.nav__link:hover::after,
.nav__link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile Nav */
.nav__toggle {
    display: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: relative;
    transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle span:nth-child(2) {
    margin: 6px 0;
}

.nav__menu.active+.nav__actions .nav__toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav__menu.active+.nav__actions .nav__toggle span:nth-child(2) {
    opacity: 0;
}

.nav__menu.active+.nav__actions .nav__toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* 6. HERO SECTION
-------------------------------------------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(3rem, 10vw, 7rem);
    margin: 0;
    line-height: 1;
}

.hero__title-sub {
    display: block;
    color: var(--color-text);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin: 0.5rem 0;
}

.hero__subtitle {
    max-width: 700px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero__cta {
    margin-top: 3rem;
}

.hero__background-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    z-index: 0;
    animation: glitch-anim 5s infinite steps(8, end) alternate;
    opacity: 0.1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.hero-shape.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(74, 13, 103, 0.5);
    bottom: 10%;
    left: 10%;
    animation: float 10s infinite alternate;
}

.hero-shape.shape-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(255, 0, 60, 0.4);
    top: 20%;
    right: 15%;
    animation: float 12s infinite alternate-reverse;
}

.hero-shape.shape-3 {
    width: 150px;
    height: 150px;
    background-color: rgba(0, 246, 255, 0.3);
    bottom: 25%;
    right: 20%;
    animation: float 8s infinite alternate;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }

    100% {
        transform: translateY(-30px) translateX(20px) rotate(10deg);
    }
}


/* 7. SERVICES SECTION
-------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    border: 1px solid var(--color-border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(74, 13, 103, 0.1), rgba(255, 0, 60, 0.05));
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--color-purple-haze), 0 0 10px var(--color-deep-red);
}

.service-card::before {
    /* Glitch line */
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--color-deep-red);
    opacity: 0.1;
    transform: skewY(45deg);
    transition: top var(--transition-slow);
}

.service-card:hover::before {
    top: 150%;
}

.service-card__icon {
    margin-bottom: 1.5rem;
}

.service-card__icon svg {
    width: 50px;
    height: 50px;
    color: var(--color-cyber-blue);
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__icon svg {
    transform: rotateY(180deg);
}

.service-card__title {
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-dark);
}

/* 8. PROCESS SECTION
-------------------------------------------------- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--color-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-step::after {
    /* Timeline dot */
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--color-deep-red);
    border: 4px solid var(--color-cyber-blue);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:nth-child(even)::after {
    left: -10px;
}

.process-step.is-visible::after {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--color-deep-red);
}

.process-step__content {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    border: 1px solid var(--color-border);
}

.process-step:nth-child(odd) .process-step__content {
    text-align: right;
}

.process-step__number {
    position: absolute;
    top: 10px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 0, 60, 0.1);
    z-index: -1;
}

.process-step:nth-child(odd) .process-step__number {
    right: 30px;
}

.process-step:nth-child(even) .process-step__number {
    left: 30px;
}

.process-step__title {
    color: var(--color-cyber-blue);
    margin-bottom: 0.5rem;
}


/* 9. INDUSTRIES SECTION
-------------------------------------------------- */
.industry-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.industry-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.industry-tab-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-dark);
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-secondary);
    transition: all var(--transition-fast);
}

.industry-tab-btn.active,
.industry-tab-btn:hover {
    color: var(--color-background);
    background-color: var(--color-cyber-blue);
    border-color: var(--color-cyber-blue);
    box-shadow: 0 0 10px var(--color-cyber-blue);
}

.industry-tab-panel {
    display: none;
    padding: 2rem;
    border: 1px solid var(--color-border);
    background: rgba(74, 13, 103, 0.05);
}

.industry-tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 10. TESTIMONIALS SECTION
-------------------------------------------------- */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 0 50px;
}

.testimonial-slides {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    text-align: center;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.testimonial-author .author-name {
    display: block;
    font-weight: 700;
    color: var(--color-cyber-blue);
}

.testimonial-author .author-title {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

.testimonial-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all var(--transition-fast);
}

.testimonial-nav button:hover {
    background: var(--color-deep-red);
    border-color: var(--color-deep-red);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* 11. INTERACTIVE SECTION
-------------------------------------------------- */
.interactive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.interactive-card {
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interactive-card h3 {
    color: var(--color-cyber-blue);
    margin-bottom: 1rem;
}

.interactive-card p {
    margin-bottom: 1.5rem;
}

.calculator input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 10px;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

#roi-result {
    font-weight: 700;
    min-height: 24px;
    margin-top: 1rem;
    color: var(--color-cyber-blue);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 8, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-background);
    border: 1px solid var(--color-deep-red);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
}

.report-preview {
    font-family: var(--font-secondary);
    margin-top: 1rem;
    border: 1px solid var(--color-border);
    padding: 1rem;
}

/* 12. LIVE CHAT
-------------------------------------------------- */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle-btn {
    background: var(--color-purple-haze);
    border: 1px solid var(--color-cyber-blue);
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-icon {
    width: 10px;
    height: 10px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

.chat-window {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 300px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--color-purple-haze);
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
}

.chat-body textarea {
    width: 100%;
    height: 80px;
    background: #111;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 5px;
    margin-bottom: 1rem;
    resize: none;
}

/* 13. FOOTER
-------------------------------------------------- */
.footer {
    padding: 80px 0 30px;
    background-color: #020003;
    position: relative;
    border-top: 1px solid var(--color-border);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 50px;
}

.footer__logo img {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer__description {
    font-size: 0.9rem;
}

.footer__links h3,
.footer__contact h3 {
    color: var(--color-cyber-blue);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer__links ul li {
    margin-bottom: 0.8rem;
}

.footer__links a,
.footer__contact a {
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
}

.footer__links a:hover,
.footer__contact a:hover {
    color: var(--color-deep-red);
}

.footer__contact ul li {
    margin-bottom: 0.8rem;
    color: var(--color-text-dark);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dark);
    font-family: var(--font-secondary);
}

.footer-glitch {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-deep-red);
    animation: glitch-anim 4s infinite linear alternate;
}

/* 14. LEGAL & CONTACT PAGES
-------------------------------------------------- */
.page-header {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.page-header__title .glitch {
    font-size: clamp(2.5rem, 7vw, 4rem);
}

.legal-page .legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-cyber-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.contact-page__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info__title {
    color: var(--color-cyber-blue);
    margin-bottom: 1rem;
}

.contact-detail-item {
    margin-top: 2rem;
}

.contact-detail-item h3 {
    text-transform: capitalize;
    margin-bottom: 0.5rem;
}

.contact-detail-item a {
    transition: color var(--transition-fast);
}

.contact-detail-item a:hover {
    color: var(--color-deep-red);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 12px;
    color: var(--color-text);
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-deep-red);
    box-shadow: 0 0 10px var(--color-deep-red);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-dark);
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
}

.contact-form select option {
    background: var(--color-background);
    color: var(--color-text);
}

/* Success Popup */
#success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 8, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

#success-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-background);
    border: 1px solid var(--color-cyber-blue);
    padding: 2rem 3rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 20px var(--color-cyber-blue);
    transform: scale(0.9);
    transition: transform 0.3s;
}

#success-popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-cyber-blue);
    margin-bottom: 1rem;
}


/* 15. RESPONSIVENESS
-------------------------------------------------- */
@media (max-width: 992px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-background);
        z-index: 1000;
        transition: right var(--transition-slow);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        text-align: center;
    }

    .nav__link {
        font-size: 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .nav__menu-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAAYklEQVRIx+3MyQEAIAwDMCVKO6z97Z4AYjsMAeABIEGURjjIIHAYAAAAAElFTkSuQmCC');
        opacity: 0.02;
        z-index: -1;
    }

    .process-timeline::after {
        left: 31px;
    }

    .process-step {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .process-step:nth-child(even) {
        left: 0;
    }

    .process-step::after {
        left: 22px;
    }

    .process-step:nth-child(odd) .process-step__content {
        text-align: left;
    }

    .footer__content {
        grid-template-columns: 1fr 1fr;
    }

    .footer__about {
        grid-column: 1 / -1;
    }

    .contact-page__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .nav__actions .btn {
        display: none;
    }

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__about,
    .footer__links,
    .footer__contact {
        margin-bottom: 2rem;
    }

    .testimonial-slider {
        padding: 0;
    }

    .testimonial-nav button {
        bottom: -60px;
        top: auto;
        transform: none;
    }

    .prev-btn {
        left: 35%;
    }

    .next-btn {
        right: 35%;
    }
}