/*
================================================
TABLE OF CONTENTS
================================================
1.  VARIABLES & RESET
2.  GLOBAL STYLES & UTILITIES
3.  PARTICLES & CURSOR
4.  HEADER & NAVIGATION
5.  MOBILE NAVIGATION
6.  HERO SECTION & REACTOR ANIMATION
7.  BUTTONS & FORMS
8.  SECTION STYLING (Headers, etc.)
9.  STATS SECTION
10. SERVICES SECTION
11. PROCESS SECTION
12. INDUSTRIES SECTION
13. TESTIMONIALS SECTION
14. CTA (CALL TO ACTION) SECTION
15. FOOTER
16. SUBPAGE STYLES (Page Header, Contact, Legal)
17. POPUP & WIDGETS (Chat)
18. ANIMATIONS & KEYFRAMES
19. RESPONSIVE DESIGN (Media Queries)
    - 1200px (Large Desktops)
    - 992px (Tablets)
    - 768px (Small Tablets / Large Mobiles)
    - 576px (Mobiles)
================================================
*/

/* 1. VARIABLES & RESET */
:root {
    --carbon-black: #05080d;
    --steel-gray: #1a2230;
    --steel-gray-light: #2c3a52;
    --steel-silver: #c5cde0;
    --nuclear-cyan: #61f7f7;
    --nuclear-cyan-darker: #00c2c2;
    --font-primary: 'Exo 2', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --header-height: 80px;
    --border-radius: 5px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--carbon-black);
    color: var(--steel-silver);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* 2. GLOBAL STYLES & UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--nuclear-cyan);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: white;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

.text-center {
    text-align: center;
}

main {
    padding-top: var(--header-height);
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* 3. PARTICLES & CURSOR */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.glow-cursor {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(97, 247, 247, 0.05) 0%, rgba(97, 247, 247, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    z-index: 9999;
    opacity: 0;
}

body:hover .glow-cursor {
    opacity: 1;
}

/* 4. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(5, 8, 13, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(44, 58, 82, 0.5);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(5, 8, 13, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 45px;
     filter: brightness(1)invert(1);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--steel-silver);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--nuclear-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease-out;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.35s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav-open .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-nav-open .bar-middle {
    opacity: 0;
}

.mobile-nav-open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 5. MOBILE NAVIGATION */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--steel-gray);
    border-left: 1px solid rgba(44, 58, 82, 0.5);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mobile-nav-open .mobile-nav {
    right: 0;
}

.mobile-nav nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav nav li {
    margin-bottom: 30px;
}

.mobile-nav nav li:last-child {
    margin-top: 40px;
}

.mobile-nav nav a {
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 6. HERO SECTION & REACTOR ANIMATION */
.hero {
    height: calc(100vh - var(--header-height));
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-reactor-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 0;
}

.reactor-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 90vmin;
    height: 90vmin;
}

.reactor-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(97, 247, 247, 0.2);
    border-radius: 50%;
}

.ring-1 {
    animation: spin 20s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    animation: spin-reverse 25s linear infinite;
}

.ring-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    animation: spin 15s linear infinite;
}

.ring-4 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation: spin-reverse 30s linear infinite;
}

.reactor-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;
    height: 20%;
    background-color: var(--nuclear-cyan);
    border-radius: 50%;
    filter: blur(30px);
    box-shadow: 0 0 40px var(--nuclear-cyan), 0 0 80px var(--nuclear-cyan), 0 0 120px white;
    animation: pulse 4s infinite ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(97, 247, 247, 0.5), 0 0 20px rgba(97, 247, 247, 0.3);
    animation: text-flicker 4s linear infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 20px auto 40px;
    font-family: var(--font-secondary);
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--steel-silver);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
    animation: fade-in-out 3s infinite;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--steel-silver);
    border-radius: 12px;
    margin: 10px auto 0;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--steel-silver);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}


/* 7. BUTTONS & FORMS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--nuclear-cyan);
    color: var(--carbon-black);
    box-shadow: 0 0 10px rgba(97, 247, 247, 0.4), 0 0 20px rgba(97, 247, 247, 0.2);
}

.btn-primary:hover {
    background-color: var(--nuclear-cyan-darker);
    color: var(--carbon-black);
    box-shadow: 0 0 20px rgba(97, 247, 247, 0.6), 0 0 40px rgba(97, 247, 247, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--nuclear-cyan);
    border-color: var(--nuclear-cyan);
}

.btn-secondary:hover {
    background-color: rgba(97, 247, 247, 0.1);
    color: white;
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--steel-silver);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--steel-gray);
    border: 1px solid var(--steel-gray-light);
    border-radius: var(--border-radius);
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--nuclear-cyan);
    box-shadow: 0 0 10px rgba(97, 247, 247, 0.3);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2361f7f7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

/* 8. SECTION STYLING */
.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--nuclear-cyan);
    border-radius: 20px;
    color: var(--nuclear-cyan);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: var(--steel-silver);
}

/* 9. STATS SECTION */
.stats-section {
    background-color: rgba(26, 34, 48, 0.3);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.stat-item:hover {
    border-color: var(--steel-gray-light);
    background-color: var(--steel-gray);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--nuclear-cyan);
}

.stat-number,
.stat-suffix {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-family: var(--font-secondary);
    color: var(--steel-silver);
}

/* 10. SERVICES SECTION */
.services-section {
    background: linear-gradient(rgba(5, 8, 13, 0.9), rgba(5, 8, 13, 0.9)), url('https://www.transparenttextures.com/patterns/hexellence.png');
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--steel-gray);
    border: 1px solid var(--steel-gray-light);
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    perspective: 1000px;
    height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.service-card-back {
    background-color: var(--steel-gray-light);
    border-radius: var(--border-radius);
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--nuclear-cyan);
    margin-bottom: 20px;
    transition: transform var(--transition-speed) ease;
}

.service-title {
    margin-bottom: 15px;
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card-back ul {
    list-style: none;
    text-align: left;
    margin: 15px 0;
}

.service-card-back li {
    font-size: 0.9rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-card-back li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--nuclear-cyan);
    position: absolute;
    left: 0;
}

.btn-card {
    margin-top: auto;
    background-color: var(--nuclear-cyan);
    color: var(--carbon-black);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 11. PROCESS SECTION */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--steel-gray-light);
    transform: translateX(-50%);
}

.process-step-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.process-step {
    display: flex;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    align-self: flex-start;
    padding-right: 50px;
    text-align: right;
}

.process-step:nth-child(even) {
    align-self: flex-end;
    padding-left: 50px;
}

.process-node {
    width: 20px;
    height: 20px;
    background-color: var(--carbon-black);
    border: 3px solid var(--nuclear-cyan);
    border-radius: 50%;
    position: absolute;
    top: 0;
    z-index: 1;
}

.process-step:nth-child(odd) .process-node {
    right: -10px;
}

.process-step:nth-child(even) .process-node {
    left: -10px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--steel-gray-light);
    margin-bottom: 10px;
}

.step-title {
    color: var(--nuclear-cyan);
}

.step-desc {
    font-size: 0.9rem;
}

/* 12. INDUSTRIES SECTION */
.industries-section {
    background-color: var(--steel-gray);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background-color: var(--carbon-black);
    border: 1px solid var(--steel-gray-light);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.industry-item:hover {
    transform: translateY(-10px);
    border-color: var(--nuclear-cyan);
    box-shadow: 0 0 15px rgba(97, 247, 247, 0.2);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--nuclear-cyan);
}

.industry-item span {
    font-family: var(--font-secondary);
}

/* 13. TESTIMONIALS SECTION */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 40px;
    text-align: center;
    background: var(--steel-gray);
    border: 1px solid var(--steel-gray-light);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--nuclear-cyan);
    line-height: 0;
    margin-right: 10px;
}

.author-name {
    color: white;
}

.author-title {
    color: var(--steel-silver);
    font-size: 0.9rem;
}

/* 14. CTA (CALL TO ACTION) SECTION */
.cta-section {
    background-color: var(--steel-gray);
    border-top: 1px solid var(--steel-gray-light);
    border-bottom: 1px solid var(--steel-gray-light);
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-subtitle {
    max-width: 650px;
    margin: 0 auto 40px;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* 15. FOOTER */
.footer {
    background-color: var(--carbon-black);
    padding: 80px 0 0;
    border-top: 1px solid var(--steel-gray-light);
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
     filter: brightness(1)invert(1);
}

.footer-about-text {
    margin-bottom: 25px;
    color: var(--steel-silver);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--steel-gray-light);
    border-radius: 50%;
    color: var(--steel-silver);
}

.social-link:hover {
    background-color: var(--nuclear-cyan);
    color: var(--carbon-black);
    border-color: var(--nuclear-cyan);
}

.footer-col-title {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: white;
    letter-spacing: 1.5px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--steel-silver);
}

.footer-links a:hover {
    color: var(--nuclear-cyan);
    padding-left: 5px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--nuclear-cyan);
    margin-top: 5px;
}

.contact-info a {
    color: var(--steel-silver);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid var(--steel-gray-light);
    color: var(--steel-silver);
    font-family: var(--font-secondary);
}

/* 16. SUBPAGE STYLES */
body.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(rgba(26, 34, 48, 0.8), rgba(26, 34, 48, 0.8)), url('https://www.transparenttextures.com/patterns/subtle-prism.png');
    border-bottom: 1px solid var(--steel-gray-light);
}

.page-header h1 {
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: var(--steel-silver);
}

.breadcrumbs span {
    color: var(--nuclear-cyan);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

.contact-page-section,
.legal-content {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--steel-gray);
    padding: 50px;
    border: 1px solid var(--steel-gray-light);
    border-radius: var(--border-radius);
}

.contact-info-block h3 {
    margin-bottom: 20px;
}

.contact-methods {
    list-style: none;
    margin-top: 30px;
}

.contact-methods li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--nuclear-cyan);
    margin-top: 5px;
}

.contact-methods h4 {
    margin-bottom: 5px;
}

.contact-methods a {
    color: var(--steel-silver);
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--steel-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--steel-gray-light);
}

.legal-content h2 {
    margin: 40px 0 20px;
    color: var(--nuclear-cyan);
    font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
    color: var(--steel-silver);
    line-height: 1.8;
}

.legal-content ul {
    list-style-position: inside;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
}

/* 17. POPUP & WIDGETS */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background-color: var(--steel-gray);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--steel-gray-light);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--nuclear-cyan);
    margin-bottom: 20px;
}

.popup h3 {
    margin-bottom: 10px;
}

.popup-close {
    margin-top: 30px;
}

.live-chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background-color: var(--nuclear-cyan);
    color: var(--carbon-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(97, 247, 247, 0.3);
    transition: transform 0.2s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-notification {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background-color: #ff4d4d;
    border-radius: 50%;
    border: 2px solid var(--nuclear-cyan);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--steel-gray);
    border-radius: var(--border-radius);
    border: 1px solid var(--steel-gray-light);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    background: var(--steel-gray-light);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    color: white;
}

.close-chat {
    background: none;
    border: none;
    color: var(--steel-silver);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

.message p {
    background: var(--steel-gray-light);
    padding: 10px 15px;
    border-radius: 15px;
    display: inline-block;
    max-width: 80%;
    font-size: 0.9rem;
}

.message.received p {
    background-color: var(--nuclear-cyan);
    color: var(--carbon-black);
    border-bottom-left-radius: 3px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--steel-gray-light);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: none;
    color: white;
    padding: 0 10px;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--nuclear-cyan);
    font-size: 1.2rem;
    cursor: pointer;
}

/* 18. ANIMATIONS & KEYFRAMES */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes text-flicker {
    0% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(97, 247, 247, 0.5);
    }

    2% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(97, 247, 247, 0.7);
    }

    8% {
        opacity: 0.7;
        text-shadow: 0 0 10px rgba(97, 247, 247, 0.5);
    }

    9% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(97, 247, 247, 0.7);
    }

    12% {
        opacity: 0.9;
    }

    20% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(97, 247, 247, 0.7);
    }

    25% {
        opacity: 0.8;
    }

    30% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    72% {
        opacity: 0.8;
        text-shadow: 0 0 10px rgba(97, 247, 247, 0.5);
    }

    77% {
        opacity: 1;
        text-shadow: 0 0 15px rgba(97, 247, 247, 0.7);
    }

    100% {
        opacity: 1;
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

@keyframes fade-in-out {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


/* 19. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    h1 {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-step {
        width: 100%;
        text-align: left !important;
        padding: 0 0 0 50px !important;
        align-self: auto !important;
    }

    .timeline-line {
        left: 10px;
    }

    .process-step .process-node {
        left: 0 !important;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .stats-grid,
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about .social-links,
    .footer-col .contact-info li {
        justify-content: center;
    }

    .footer-col .contact-info li {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-wrapper {
        padding: 30px;
    }
}