/*
---
Theme Name: Quantum Core
---
*/

/* 1. VARIABLES & RESET */
:root {
    --primary-bg: #0a0b1e;
    --secondary-bg: #14152b;
    --card-bg: #1a1b3a;
    --border-color: rgba(77, 77, 255, 0.3);
    --primary-accent: #4d4dff;
    --secondary-accent: #00ffff;
    --tertiary-accent: #ff00ff;
    --text-primary: #f0f0f8;
    --text-secondary: #a0a0c0;
    --white: #ffffff;
    --glow-primary: 0 0 10px var(--primary-accent), 0 0 20px var(--primary-accent), 0 0 30px rgba(77, 77, 255, 0.5);
    --glow-secondary: 0 0 8px var(--secondary-accent), 0 0 16px var(--secondary-accent);
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--secondary-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white);
}

ul {
    list-style: none;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--white), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 2. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
}

.header.scrolled {
    background-color: rgba(10, 11, 30, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-accent), var(--tertiary-accent));
    transition: width 0.4s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 3. BUTTONS & CTAS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-accent), var(--tertiary-accent));
    color: var(--white);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 15px var(--primary-accent), 0 0 30px var(--primary-accent), 0 0 40px rgba(77, 77, 255, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-accent);
    color: var(--text-primary);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-accent);
    transition: width 0.4s ease;
    z-index: 0;
}

.btn-secondary:hover {
    color: var(--white);
}

.btn-secondary:hover::before {
    width: 100%;
}

/* 4. MOBILE NAVIGATION */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--secondary-bg);
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.mobile-nav.is-open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-nav ul li a {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.mobile-nav .btn {
    margin-top: 20px;
}

.mobile-toggle.is-active .bar-top {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.is-active .bar-middle {
    opacity: 0;
}

.mobile-toggle.is-active .bar-bottom {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* 5. HERO SECTION & QUANTUM CORE */
#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: var(--secondary-accent);
    border-radius: 50%;
    opacity: 0;
    animation: particle-burst 1.5s ease-out forwards;
}

@keyframes particle-burst {
    0% {
        transform: scale(0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.quantum-core-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    perspective: 1000px;
    z-index: 0;
}

.quantum-core {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate-core 60s linear infinite;
}

@keyframes rotate-core {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.core-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -100px;
    background: radial-gradient(circle, var(--primary-accent) 0%, rgba(77, 77, 255, 0) 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
    transform: translateZ(0px);
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.core-surface {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    margin-left: -75px;
    margin-top: -75px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><linearGradient id="g" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%234d4dff"/><stop offset="100%" stop-color="%2300ffff"/></linearGradient></defs><path fill="url(%23g)" d="M50 0 L100 50 L50 100 L0 50 Z" opacity="0.1"/></svg>');
    background-size: cover;
    border-radius: 50%;
    transform-style: preserve-3d;
    transform: translateZ(0px);
}

.core-particle {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 50%;
    left: 50%;
    margin-top: -7.5px;
    margin-left: -7.5px;
    background-color: var(--secondary-accent);
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
}

.p1 {
    animation: orbit1 8s linear infinite;
}

.p2 {
    animation: orbit2 10s linear infinite;
}

.p3 {
    animation: orbit3 12s linear infinite;
}

@keyframes orbit1 {
    from {
        transform: rotateZ(0deg) translateX(200px) rotateZ(0deg) rotateY(60deg);
    }

    to {
        transform: rotateZ(360deg) translateX(200px) rotateZ(-360deg) rotateY(60deg);
    }
}

@keyframes orbit2 {
    from {
        transform: rotateY(0deg) translateX(250px) rotateY(0deg) rotateX(45deg);
    }

    to {
        transform: rotateY(360deg) translateX(250px) rotateY(-360deg) rotateX(45deg);
    }
}

@keyframes orbit3 {
    from {
        transform: rotateX(0deg) translateY(280px) rotateX(0deg) rotateZ(75deg);
    }

    to {
        transform: rotateX(360deg) translateY(280px) rotateX(-360deg) rotateZ(75deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--white), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 6. SERVICES SECTION */
.services-section {
    background-color: var(--secondary-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    aspect-ratio: 1 / 1;
    perspective: 1500px;
}

.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;
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--card-bg), var(--primary-accent));
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
}

.service-card-back h3 {
    color: var(--white);
}

.service-card-back p {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.btn-card {
    padding: 8px 20px;
    background-color: var(--white);
    color: var(--primary-accent);
    border-radius: 20px;
    font-weight: 600;
}

.btn-card:hover {
    background-color: var(--secondary-accent);
    color: var(--primary-bg);
}


/* 7. ABOUT SECTION */
.about-section {
    background-color: var(--primary-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    /* Animation placeholder */
}

.stats-counter {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-accent);
}

.stat-label {
    color: var(--text-secondary);
}

.about-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.about-image {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: rotateY(-10deg) rotateX(5deg) scale(1.05);
}

.about-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-accent), var(--tertiary-accent));
    border-radius: 15px;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.3;
}


/* 8. INDUSTRY EXPERTISE SECTION */
.industry-section {
    background-color: var(--secondary-bg);
    padding: 60px 0;
}

.industry-carousel {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.industry-track {
    display: flex;
    width: calc(250px * 12);
    /* 6 items * 2 for duplication */
    animation: scroll-industry 40s linear infinite;
}

@keyframes scroll-industry {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 6));
    }
}

.industry-slide {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.industry-slide i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.industry-slide span {
    font-weight: 500;
}

.industry-slide:hover {
    color: var(--secondary-accent);
    transform: scale(1.1);
}

/* 9. TESTIMONIALS SECTION */
.testimonials-section {
    background-color: var(--primary-bg);
}

.static-testimonial-wrapper {
    max-width: 800px;
    /* You can adjust this width */
    margin: 0 auto;
    /* This centers the wrapper */
}

.testimonial-card {
    box-sizing: border-box;
    padding: 40px;
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-accent);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* No slider-specific styles needed */
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 30px 0;
    /* Add bottom margin */
    text-align: left;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* This moves the author block to the right */
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-accent);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* No slider controls needed, so those styles are removed. */

/* 10. ROI CALCULATOR */
.roi-calculator-section {
    background-color: var(--secondary-bg);
}

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.roi-calculator {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.roi-calculator .form-group {
    margin-bottom: 25px;
}

.roi-calculator label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider-wrapper span {
    font-size: 1.2rem;
    color: var(--secondary-accent);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--primary-bg);
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--secondary-accent);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--secondary-accent);
    cursor: pointer;
    border-radius: 50%;
}

.slider-wrapper output {
    background-color: var(--primary-bg);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--white);
    min-width: 80px;
    text-align: center;
}

.roi-results {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.roi-results h4 {
    color: var(--text-secondary);
    font-weight: 400;
}

.roi-results h3 {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    text-shadow: var(--glow-secondary);
}

/* 11. LIVE CHAT WIDGET */
.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-accent), var(--tertiary-accent));
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle .fa-times {
    display: none;
}

.chat-toggle.active .fa-comments {
    display: none;
}

.chat-toggle.active .fa-times {
    display: block;
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: bottom right;
}

.chat-popup.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    padding: 20px;
    background-color: var(--primary-accent);
    color: var(--white);
}

.chat-header h3 {
    font-size: 1.2rem;
}

.chat-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-body {
    padding: 20px;
}

.chat-body p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.chat-body input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--primary-bg);
    color: var(--white);
    border-radius: 5px;
    margin-bottom: 15px;
}

.chat-body .btn {
    width: 100%;
}


/* 12. FOOTER */
.footer {
    background-color: var(--secondary-bg);
    padding-top: 100px;
    position: relative;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-accent);
    filter: blur(100px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    right: -50px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-accent);
    color: var(--white);
    border-color: var(--primary-accent);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    position: relative;
}

.footer-links ul li a::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 15px;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--secondary-accent);
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--text-secondary);
}

/* 13. LEGAL & SUBPAGES */
body.subpage {
    padding-top: var(--header-height);
}

.page-header {
    background: linear-gradient(rgba(10, 11, 30, 0.8), rgba(10, 11, 30, 0.8)), url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=3600') no-repeat center center/cover;
    text-align: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs span,
.breadcrumbs i {
    color: var(--text-primary);
}

.breadcrumbs i {
    margin: 0 10px;
    font-size: 0.8rem;
}

.page-header-subtitle {
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-secondary);
}

.page-content {
    background-color: var(--secondary-bg);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.content-wrapper h2 {
    margin: 30px 0 15px;
    font-size: 1.8rem;
    border-bottom: 2px solid var(--primary-accent);
    padding-bottom: 5px;
}

.content-wrapper p,
.content-wrapper li {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

/* 14. CONTACT PAGE */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info-panel h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.method-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--white);
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-details p {
    margin: 0;
    color: var(--text-secondary);
}

.method-details a {
    color: var(--text-secondary);
}

.method-details a:hover {
    color: var(--secondary-accent);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.contact-form .full-width {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--secondary-accent);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--secondary-accent);
}

.contact-form select {
    -webkit-appearance: none;
    appearance: none;
}

.contact-form button {
    width: 100%;
}

/* 15. POPUP */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 30, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.popup-content i {
    font-size: 4rem;
    color: var(--secondary-accent);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}


/* 16. ANIMATIONS & SCROLL TRIGGERS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-title,
.hero-subtitle,
.hero-cta-group {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hero-subtitle {
    animation-delay: 0.3s;
}

.hero-cta-group {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 17. RESPONSIVENESS */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-cta {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-container,
    .roi-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        grid-row: 1;
        margin-bottom: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .stats-counter {
        gap: 20px;
        justify-content: space-around;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .slider-controls {
        width: 100%;
        left: 0;
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links,
    .contact-info,
    .footer-links ul {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
    }

    .quantum-core-container {
        width: 400px;
        height: 400px;
    }

    .core-particle {
        transform-origin: 0 0;
    }

    @keyframes orbit1 {
        from {
            transform: rotateZ(0deg) translateX(120px) rotateZ(0deg) rotateY(60deg);
        }

        to {
            transform: rotateZ(360deg) translateX(120px) rotateZ(-360deg) rotateY(60deg);
        }
    }

    @keyframes orbit2 {
        from {
            transform: rotateY(0deg) translateX(150px) rotateY(0deg) rotateX(45deg);
        }

        to {
            transform: rotateY(360deg) translateX(150px) rotateY(-360deg) rotateX(45deg);
        }
    }

    @keyframes orbit3 {
        from {
            transform: rotateX(0deg) translateY(180px) rotateX(0deg) rotateZ(75deg);
        }

        to {
            transform: rotateX(360deg) translateY(180px) rotateX(-360deg) rotateZ(75deg);
        }
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        padding: 20px;
    }

    .popup-content {
        width: 90%;
    }
}