/* Table of Contents
---
1.  Global Styles & Variables
2.  Keyframe Animations
3.  General Layout & Helpers
4.  Custom Cursor
5.  Starfield Background
6.  Header & Navigation
7.  Footer
8.  Buttons & Form Elements
9.  Hero Section
10. Page Header (for subpages)
11. Section Styles (Common)
12. Services Section (3D Cards)
13. Process Section (SVG Path)
14. Dashboard Section
15. Industries Section
16. Testimonials Section
17. CTA Section
18. Contact Page Styles
19. Legal Page Styles
20. Popups & Widgets (Chat, Form Success)
21. Responsive Design
--- */


/* 1. Global Styles & Variables
--------------------------------------------- */
:root {
    --bg-dark: #0A0F1E;
    --bg-medium: #10182c;
    --bg-light: #1c2642;
    --primary-color: #00aaff;
    --secondary-color: #ff5722;
    --text-light: #e0e5f0;
    --text-medium: #a0a8b8;
    --text-dark: #10182c;
    --border-color: rgba(0, 170, 255, 0.2);
    --glow-color: rgba(0, 170, 255, 0.6);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --header-height: 80px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.2);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--glow-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 2. Keyframe Animations
--------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px var(--glow-color), 0 0 10px var(--glow-color), 0 0 15px var(--glow-color);
    }

    50% {
        box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color), 0 0 30px var(--glow-color);
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    20% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }
}

@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3. General Layout & Helpers
--------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* Scroll-triggered Animations */
.animate-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.is-visible {
    opacity: 1;
}

.animate-in[data-animation="fade-in-up"].is-visible {
    animation: fadeInUp 0.8s forwards;
}

.animate-in[data-animation="fade-in-left"].is-visible {
    animation: fadeInLeft 0.8s forwards;
}

.animate-in[data-animation="fade-in-right"].is-visible {
    animation: fadeInRight 0.8s forwards;
}

.animate-in[data-animation="zoom-in"].is-visible {
    animation: zoomIn 0.8s forwards;
}

/* 4. Custom Cursor
--------------------------------------------- */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

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;
    border: 2px solid var(--primary-color);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-interact {
    width: 60px;
    height: 60px;
    border-color: var(--secondary-color);
}


/* 5. Starfield Background
--------------------------------------------- */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.5);
}


/* 6. Header & Navigation
--------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: var(--transition-fast);
    background: transparent;
}

.header.scrolled {
    background-color: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.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;
    filter: brightness(0) invert(1);
    transition: transform 0.4s ease;
}

.logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    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: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-close,
.nav-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* 7. Footer
--------------------------------------------- */
.footer {
    background-color: var(--bg-medium);
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about-text {
    color: var(--text-medium);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-medium);
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-medium);
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-medium);
}

.footer-contact ul li a {
    color: var(--text-medium);
}

.footer-contact ul li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-medium);
}

/* 8. Buttons & Form Elements
--------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--text-dark);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
}

.btn-glow:hover {
    animation: glow 1.5s infinite;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-medium);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
}

textarea {
    resize: vertical;
}

/* 9. Hero Section
--------------------------------------------- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-medium);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

.planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, var(--bg-light) 0%, var(--bg-dark) 70%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 170, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
}

.ring:nth-child(1) {
    width: 500px;
    height: 500px;
}

.ring:nth-child(2) {
    width: 600px;
    height: 600px;
}

.ring:nth-child(3) {
    width: 700px;
    height: 700px;
}

.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--size, 110%);
    height: var(--size, 110%);
    transform: translate(-50%, -50%);
    animation: orbit var(--duration, 15s) linear infinite;
    --radius: calc(var(--size, 110%) * 2);
}

.satellite {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--glow-color);
}


/* 10. Page Header (for subpages)
--------------------------------------------- */
.page-header-section {
    padding: 150px 0 80px;
    background: linear-gradient(180deg, rgba(10, 15, 30, 0) 0%, var(--bg-dark) 100%),
        url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill="%2310182c" fill-opacity="0.4"%3E%3Crect x="0" y="0" width="50" height="50"/%3E%3Crect x="50" y="50" width="50" height="50"/%3E%3C/g%3E%3C/svg%3E');
    text-align: center;
}

.page-header-section h1 {
    font-size: 3rem;
}

.page-header-desc {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 15px auto 0;
}

.breadcrumbs {
    margin-top: 20px;
    color: var(--text-medium);
}

.breadcrumbs a {
    color: var(--text-medium);
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs .fa-chevron-right {
    font-size: 0.8rem;
    margin: 0 10px;
    color: var(--primary-color);
}

/* 11. Section Styles (Common)
--------------------------------------------- */
.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* 12. Services Section (3D Cards)
--------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card-container {
    perspective: 1000px;
    min-height: 280px;
}

.service-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.service-card-container:hover .service-card {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: linear-gradient(145deg, var(--bg-medium), var(--bg-light));
}

.card-front {
    z-index: 2;
}

.card-back {
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--glow-color);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-medium);
}

.card-back-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.card-back ul {
    text-align: left;
    margin-bottom: 25px;
}

.card-back ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.card-back ul li::before {
    content: '\f138';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 13. Process Section (SVG Path)
--------------------------------------------- */
.process-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.process-path {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    z-index: -1;
}

.process-path path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-path 5s ease-in-out forwards;
}

.process-step {
    text-align: center;
    max-width: 250px;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px var(--glow-color), inset 0 0 15px var(--glow-color);
    transition: var(--transition-fast);
}

.process-step:hover .step-icon {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-medium);
}


/* 14. Dashboard Section
--------------------------------------------- */
.dashboard-section {
    background-color: var(--bg-medium);
}

.dashboard-wrapper {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.dash-panel {
    background: linear-gradient(145deg, var(--bg-medium), var(--bg-light));
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.dash-panel h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-medium);
    text-transform: uppercase;
}

.panel-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.panel-medium {
    grid-column: 3 / 5;
}

.chart-area {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
}

.bar {
    width: 40px;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 5px 5px 0 0;
    height: var(--val);
    animation: growBar 1s ease-out forwards;
    animation-delay: var(--delay);
    transform: scaleY(0);
    transform-origin: bottom;
    position: relative;
}

.bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-medium);
}

@keyframes growBar {
    to {
        transform: scaleY(1);
    }
}

.metric-circle {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.metric-circle span {
    font-family: var(--font-heading);
    font-size: 1.8rem;
}

.progress-ring-circle {
    transform-origin: center;
    transform: rotate(-90deg);
    stroke: var(--primary-color);
    stroke-dasharray: 326;
    stroke-dashoffset: 50;
    animation: fillCircle 2s ease-out forwards;
}

@keyframes fillCircle {
    to {
        stroke-dashoffset: 50;
    }
}

/* 326 * (1 - 0.82) = ~58 */

.status-indicator p {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #4caf50;
    animation: pulse 1.5s infinite;
}

.heartbeat-line {
    width: 100%;
    height: 50px;
    background:
        linear-gradient(to right, transparent, var(--primary-color) 10%, transparent 20%),
        repeating-linear-gradient(90deg, transparent, transparent 49.5%, var(--border-color) 50%, var(--border-color) 50.5%, transparent 51%, transparent 100%);
    background-size: 100% 100%, 10px 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.heartbeat-line::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        radial-gradient(ellipse 50% 50% at 50% 50%, transparent, var(--bg-light)),
        linear-gradient(rgba(255, 255, 255, 0) 45%, var(--primary-color), rgba(255, 255, 255, 0) 55%);
    background-repeat: no-repeat;
    background-size: 1px 100%, 1px 20%;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

.source-list .source-item {
    margin-bottom: 10px;
}

.progress-bar {
    height: 8px;
    background: var(--bg-dark);
    border-radius: 5px;
    margin-top: 5px;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: var(--primary-color);
    border-radius: 5px;
}

.metric-display {
    text-align: center;
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    display: block;
}

.metric-label {
    color: var(--text-medium);
}


/* 15. Industries Section
--------------------------------------------- */
.industries-section {
    background-color: var(--bg-medium);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.industry-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-fast);
}

.industry-item:hover {
    transform: translateY(-10px);
    background: var(--bg-dark);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 15px;
}

.industry-item span {
    font-weight: 600;
}


/* 16. Testimonials Section
--------------------------------------------- */
.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(145deg, var(--bg-medium), var(--bg-light));
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 50px;
}

.testimonial-slides {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--text-medium);
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
}

.author-name {
    font-size: 1.2rem;
}

.author-title {
    color: var(--text-medium);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-btn {
    background: var(--border-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-btn:hover {
    background: var(--primary-color);
}


/* 17. CTA Section
--------------------------------------------- */
.cta-section {
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%2310182c" fill-opacity="0.4"%3E%3Cpath d="M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E'),
        linear-gradient(45deg, var(--bg-dark), var(--bg-medium));
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-medium);
}

/* 18. Contact Page Styles
--------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 50px;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--text-medium);
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-details-list h4 {
    margin-bottom: 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 19. Legal Page Styles
--------------------------------------------- */
.legal-content {
    background-color: var(--bg-medium);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 15px;
    color: var(--primary-color);
}

.legal-content p,
.legal-content ul {
    color: var(--text-medium);
    margin-bottom: 20px;
}

.legal-content strong {
    color: var(--text-light);
    font-weight: 600;
}


/* 20. Popups & Widgets (Chat, Form Success)
--------------------------------------------- */
/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.popup.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    animation: popup-fade-in 0.4s ease-out;
}

.popup-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--glow-color);
    transition: var(--transition-fast);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--bg-medium);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: var(--transition-fast);
}

.chat-window.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    padding: 15px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    font-family: var(--font-body);
}

#close-chat {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 15px;
    height: 300px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

.message p {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
}

.received p {
    background: var(--bg-light);
    border-bottom-left-radius: 5px;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: transparent;
    color: #fff;
    padding: 0 10px;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
}

/* 21. Responsive Design
--------------------------------------------- */

/* Tablets and larger phones */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-medium);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        padding: 100px 30px;
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .process-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .process-path {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
    }

    .panel-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .panel-medium {
        grid-column: 1 / 3;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col.footer-about,
    .footer-col.footer-contact {
        grid-column: 1 / 3;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Smaller tablets and mobile phones */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor-dot,
    .cursor-outline {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col.footer-about,
    .footer-col.footer-contact {
        grid-column: auto;
    }

    .contact-wrapper {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        padding: 30px;
    }

    .slider-controls {
        padding: 0;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }

    .header-actions .btn {
        display: none;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 35px;
    }

    .hero-section {
        height: auto;
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .chat-widget {
        right: 15px;
        bottom: 15px;
    }

    .chat-window {
        width: calc(100vw - 30px);
    }
}