/* --- Base & Variables --- */
:root {
    --primary-color: #00f5ff;
    /* Bright cyan */
    --secondary-color: #7d2ae8;
    /* Purple */
    --bg-dark: #0a0a1a;
    /* Very dark blue */
    --bg-light: #1a1a2e;
    /* Lighter dark blue */
    --text-color: #e0e0e0;
    --text-dark: #a0a0c0;
    --heading-color: #ffffff;
    --border-color: rgba(0, 245, 255, 0.2);
    --glow-color: rgba(0, 245, 255, 0.5);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* --- Resets & Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
    border: 3px solid var(--bg-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--heading-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 245, 255, 0.2);
    transition-duration: 0s;
}

a:hover~.cursor-outline,
button:hover~.cursor-outline,
.service-card:hover~.cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 245, 255, 0.4);
}

/* --- Starry Background --- */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    animation: twinkle linear infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: none;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--heading-color);
}

.btn-secondary:hover {
    background-color: var(--heading-color);
    color: var(--bg-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

.btn-glow {
    box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--glow-color), 0 0 40px var(--glow-color);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    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 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--heading-color);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--heading-color);
    background: none;
    border: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: 10%;
    left: 10%;
    animation: move-blob 15s infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 15%;
    right: 15%;
    animation: move-blob 20s infinite alternate-reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #ff5722;
    bottom: 40%;
    left: 20%;
    animation: move-blob 18s infinite alternate;
}

@keyframes move-blob {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 50px) scale(1.2);
    }
}

.hero-3d-object {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.cube {
    width: 60px;
    height: 60px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s linear infinite;
    margin: 0 auto;
}

.face {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front {
    transform: rotateY(0deg) translateZ(30px);
}

.back {
    transform: rotateY(180deg) translateZ(30px);
}

.right {
    transform: rotateY(90deg) translateZ(30px);
}

.left {
    transform: rotateY(-90deg) translateZ(30px);
}

.top {
    transform: rotateX(90deg) translateZ(30px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(30px);
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-dark);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Services Section --- */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-dark), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: transparent;
    border-radius: var(--border-radius);
    height: 350px;
    perspective: 1000px;
}

.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: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, var(--bg-light), var(--bg-dark));
}

.service-card-back {
    transform: rotateY(180deg);
    align-items: flex-start;
    text-align: left;
}

.service-card-back ul {
    margin: 1rem 0;
    list-style-type: '✓ ';
    padding-left: 1.5rem;
}

.service-card-back ul li {
    padding-left: 10px;
    margin-bottom: 0.5rem;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--glow-color);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-dark);
}

/* --- Process Section --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.process-step {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-step:nth-child(odd) .process-icon {
    right: -30px;
}

.process-step:nth-child(even) .process-icon {
    left: -30px;
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-dark);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 15px var(--glow-color);
}

.process-content {
    padding: 20px 30px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    position: relative;
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* --- Industries Section --- */
.industries-section {
    background: var(--bg-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-item {
    text-align: center;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-dark);
    transition: all var(--transition-speed) ease;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
    border-color: var(--primary-color);
}

.industry-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.industry-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.industry-item p {
    color: var(--text-dark);
}

/* --- ROI Calculator Section --- */
.roi-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--bg-light);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.roi-content h2 {
    font-size: 2rem;
}

.report-preview-container {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
}

.report-preview-container h4 {
    color: var(--primary-color);
}

.roi-calculator-form .form-group {
    margin-bottom: 1rem;
}

.roi-calculator-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.roi-calculator-form input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-size: 1rem;
}

.roi-calculator-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.roi-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.roi-result h3 span {
    color: var(--primary-color);
    font-size: 2rem;
}

/* --- Testimonials Section --- */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    text-align: center;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-nav button {
    background: var(--bg-light);
    color: var(--heading-color);
    border: 1px solid var(--border-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.slider-nav button:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--bg-light);
    background-image: radial-gradient(circle at center, var(--secondary-color) -150%, var(--bg-light) 70%);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--text-dark);
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-about-text {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-dark);
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    border-color: var(--primary-color);
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-dark);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-contact ul li a {
    color: var(--text-dark);
}

.footer-contact ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
}

/* --- Page Header for subpages --- */
.page-header-section {
    padding: 160px 0 80px;
    background: var(--bg-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 60%);
    z-index: 0;
}

.page-header-section .container {
    position: relative;
    z-index: 1;
}

.page-header-section h1 {
    font-size: 3rem;
}

.page-header-desc {
    font-size: 1.2rem;
    color: var(--text-dark);
    max-width: 600px;
    margin: 1rem auto 0;
}

.breadcrumbs {
    margin-top: 1rem;
    color: var(--text-dark);
}

.breadcrumbs a {
    color: var(--text-dark);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    margin: 0 10px;
}

.breadcrumbs span:last-child {
    color: var(--heading-color);
}

/* --- Legal & Contact Page Content --- */
.legal-content,
.contact-wrapper {
    background: var(--bg-light);
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-panel h3 {
    margin-bottom: 1rem;
}

.contact-details-list {
    margin-top: 2rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-details-list h4 {
    margin-bottom: 0.25rem;
}

.contact-details-list p,
.contact-details-list a {
    color: var(--text-dark);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-size: 1rem;
    font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f5ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* --- Popups & Modals --- */
.popup,
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup.active,
.modal.active {
    opacity: 1;
    visibility: visible;
}

.popup-content,
.modal-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    max-width: 500px;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.active .popup-content,
.modal.active .modal-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content button {
    margin-top: 1.5rem;
}

.modal-content {
    text-align: left;
}

.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-dark);
    cursor: pointer;
}

.report-metrics {
    display: flex;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.report-metrics div {
    background: var(--bg-dark);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
}

.report-metrics i {
    color: #4caf50;
    margin-right: 5px;
}


/* --- Live Chat Widget --- */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 0 20px var(--glow-color);
    transition: transform var(--transition-speed);
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed);
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 1rem;
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.chat-body {
    padding: 1rem;
    height: 300px;
    overflow-y: auto;
}

.chat-message.received p {
    background: var(--bg-dark);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    display: inline-block;
    max-width: 80%;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: transparent;
    color: var(--heading-color);
    padding: 0 10px;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--primary-color);
}


/* --- Scroll Animations --- */
[data-animation] {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animation="fade-in-up"] {
    transform: translateY(40px);
}

[data-animation="fade-in-left"] {
    transform: translateX(-40px);
}

[data-animation="fade-in-right"] {
    transform: translateX(40px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* --- Responsiveness --- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-light);
        padding: 6rem 2rem 2rem;
        transition: right var(--transition-speed) ease;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
    }

    .process-step:nth-child(odd),
    .process-step:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .process-icon {
        left: 0 !important;
    }

    .roi-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .slider-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .social-links {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-actions .btn {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .chat-window {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
}