/* --- TABLE OF CONTENTS ---
1.  ROOT & GENERAL STYLES
2.  HELPER CLASSES & KEYFRAMES
3.  HEADER & NAVIGATION
4.  MOBILE MENU
5.  FOOTER
6.  BUTTONS & FORMS
7.  HERO SECTION
8.  PAGE HEADER (FOR SUBPAGES)
9.  SECTION STYLES (COMMON)
10. SERVICES SECTION
11. PROCESS SECTION
12. INTERACTIVE REPORT SECTION
13. INDUSTRIES SECTION
14. TESTIMONIALS SECTION
15. CTA SECTION
16. CONTACT PAGE
17. LEGAL PAGES
18. POPUP STYLES
19. RESPONSIVE DESIGN
--------------------------- */

/* 1. ROOT & GENERAL STYLES */
:root {
    --color-primary: #8e2de2;
    --color-secondary: #4a00e0;
    --color-accent: #00c6ff;
    --color-dark-bg: #0a0a1a;
    --color-dark-bg-2: #101024;
    --color-light-bg: #1a1a3a;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0c0;
    --color-border: rgba(142, 45, 226, 0.2);
    --color-success: #28a745;
    --color-white: #ffffff;

    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --glow-shadow: 0 0 15px rgba(142, 45, 226, 0.5), 0 0 5px rgba(74, 0, 224, 0.7);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark-bg);
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-white);
    line-height: 1.3;
    font-weight: 700;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

main {
    padding-top: var(--header-height);
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


/* 2. HELPER CLASSES & KEYFRAMES */
.text-center {
    text-align: center;
}

/* Scroll Animation Setup */
[data-animation] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-animation].is-visible {
    opacity: 1;
    transform: none;
}

[data-animation="thought-fade-up"] {
    transform: translateY(50px);
}

[data-animation="thought-zoom-in"] {
    transform: scale(0.9);
}

[data-animation="thought-phase-left"] {
    transform: translateX(-50px);
}

[data-animation="thought-phase-right"] {
    transform: translateX(50px);
}

[data-animation="thought-phase-up"] {
    transform: translateY(30px);
}

@keyframes gradient-pan {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(142, 45, 226, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(142, 45, 226, 0);
    }
}


/* 3. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: background-color var(--transition-speed) ease, height var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 26, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}


.main-nav {
    display: none;
    /* Hidden on mobile by default */
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-text);
    font-size: 1rem;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: none;
    /* Hidden on mobile by default */
}

/* Hamburger Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.2s ease-in-out;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.mobile-menu-toggle.is-active .hamburger-inner {
    background-color: transparent;
}

.mobile-menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-10px) rotate(-45deg);
}

/* 4. MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-menu.is-active {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-link {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.mobile-nav-link.active {
    color: var(--color-accent);
}

/* 5. FOOTER */
.footer {
    background-color: var(--color-dark-bg-2);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col .logo img {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.about-col p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-light-bg);
    color: var(--color-white);
    border-radius: 50%;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.links-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.links-col a {
    color: var(--color-text-muted);
}

.links-col a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--color-text-muted);
}

.footer-contact li:not(:last-child) {
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--color-accent);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.footer-bottom p {
    color: var(--color-text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* 6. BUTTONS & FORMS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    box-shadow: var(--glow-shadow);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(142, 45, 226, 0.8), 0 0 10px rgba(74, 0, 224, 1);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--glow-shadow);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-block {
    width: 100%;
}

.btn i {
    transition: transform var(--transition-speed) ease;
}

.btn:hover i {
    transform: translateX(3px);
}

/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--color-dark-bg-2);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(142, 45, 226, 0.5);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:valid+label,
.form-group textarea:valid+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: var(--color-accent);
    background-color: var(--color-dark-bg-2);
    padding: 0 5px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* 7. HERO SECTION */
.hero-section {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 8. PAGE HEADER (FOR SUBPAGES) */
.page-header-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: var(--color-dark-bg-2);
    overflow: hidden;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(74, 0, 224, 0.15) 0%, rgba(10, 10, 26, 0) 70%);
    opacity: 0.7;
}

.page-title {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 9. SECTION STYLES (COMMON) */
section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    color: var(--color-accent);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 10. SERVICES SECTION */
.services-section {
    background-color: var(--color-dark-bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    text-align: center;
    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;
    background-color: var(--color-light-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-card-back {
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-text-muted);
}

.service-card-back h4 {
    color: var(--color-accent);
    margin-bottom: 15px;
}

.service-card-back ul {
    margin-bottom: 20px;
}

.service-card-back li {
    margin-bottom: 5px;
}

/* 11. PROCESS SECTION */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
    z-index: 1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: var(--color-primary);
    top: 30px;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid var(--color-dark-bg);
    box-shadow: var(--glow-shadow);
    animation: float 3s ease-in-out infinite;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-dark-bg-2);
    border: 1px solid var(--color-border);
    position: relative;
    border-radius: var(--border-radius);
}

.timeline-step {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: rgba(142, 45, 226, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
}

.timeline-item:nth-child(even) .timeline-step {
    right: auto;
    left: 20px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--color-white);
}

.timeline-content p {
    color: var(--color-text-muted);
}

/* 12. INTERACTIVE REPORT SECTION */
.report-section {
    background-color: var(--color-dark-bg);
}

.report-dashboard {
    background: var(--color-dark-bg-2);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h3 {
    font-size: 1.5rem;
}

.date-range {
    background-color: var(--color-light-bg);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.kpi-card,
.chart-card {
    background: var(--color-light-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-primary);
}

.kpi-card h4 {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-family: var(--font-secondary);
    margin-bottom: 10px;
}

.kpi-value {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-white);
}

.kpi-change {
    font-weight: 700;
}

.kpi-change.positive {
    color: #28a745;
}

.kpi-change.negative {
    color: #dc3545;
}

.chart-card {
    grid-column: 1 / -1;
}

.chart-card h4 {
    margin-bottom: 20px;
}

/* Sample Charts */
.area-chart-card .chart-area {
    width: 100%;
    height: 150px;
}

.area-chart svg {
    width: 100%;
    height: 100%;
}

.area-fill {
    fill: url(#area-gradient);
    opacity: 0;
    animation: fill-fade 1.5s 0.5s forwards;
}

.area-line {
    fill: none;
    stroke: var(--color-accent);
    stroke-width: 3;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: line-draw 1.5s forwards;
}

@keyframes line-draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fill-fade {
    to {
        opacity: 0.3;
    }
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bar-label {
    width: 80px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.bar {
    height: 20px;
    width: var(--bar-value);
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    animation: bar-grow 1s forwards;
}

.bar-item:nth-child(2) .bar {
    animation-delay: 0.1s;
}

.bar-item:nth-child(3) .bar {
    animation-delay: 0.2s;
}

.bar-item:nth-child(4) .bar {
    animation-delay: 0.3s;
}

@keyframes bar-grow {
    to {
        transform: scaleX(1);
    }
}

/* 13. INDUSTRIES SECTION */
.industries-section {
    background-color: var(--color-dark-bg-2);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.industry-item {
    background-color: var(--color-light-bg);
    padding: 25px;
    text-align: center;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: all var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--glow-shadow);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
}

.industry-item span {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1.1rem;
}

/* 14. TESTIMONIALS SECTION */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\f10d';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    color: rgba(142, 45, 226, 0.05);
    z-index: -1;
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust as needed */
    background-color: var(--color-dark-bg-2);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid var(--color-border);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--color-text);
}

.author-name {
    font-size: 1.1rem;
    color: var(--color-white);
}

.author-title {
    color: var(--color-accent);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 0 10px;
}

.slider-btn {
    background-color: rgba(74, 0, 224, 0.5);
    border: none;
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--color-primary);
}

/* 15. CTA SECTION */
.cta-section {
    background: linear-gradient(rgba(10, 10, 26, 0.9), rgba(10, 10, 26, 0.9)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    background-attachment: fixed;
    padding: 100px 0;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-muted);
}

/* 16. CONTACT PAGE */
.contact-section-standalone {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background-color: var(--color-dark-bg-2);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info .section-header p {
    margin: 0;
    max-width: 100%;
}

.contact-details .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.contact-text p {
    color: var(--color-text-muted);
    margin: 0;
}

.contact-form-wrapper {
    background-color: var(--color-light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
}

/* 17. LEGAL PAGES */
.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 800px;
    background-color: var(--color-dark-bg-2);
    padding: 40px;
    border-radius: var(--border-radius);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-accent);
}

.legal-section p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.legal-section strong {
    color: var(--color-white);
}

/* 18. POPUP STYLES */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--color-dark-bg-2);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 90%;
    width: 400px;
    border: 1px solid var(--color-primary);
    box-shadow: 0 0 30px rgba(142, 45, 226, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.popup-content p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* 19. RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-col {
        grid-column: 1 / -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        align-items: center;
    }

    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .chart-card {
        grid-column: span 2;
    }
}

@media (min-width: 992px) {

    .main-nav,
    .header-actions {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1.5fr;
    }

    .about-col {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .timeline-item {
        padding: 10px 40px;
    }
}