/*
    Table of Contents
    -----------------
    1.  :root Variables
    2.  Global Styles & Resets
    3.  Preloader
    4.  Utility Classes
    5.  Header & Navigation
    6.  Footer
    7.  Buttons & Forms
    8.  Hero Section
    9.  Page Hero (Internal Pages)
    10. Services Section
    11. Process Section
    12. Industry Section
    13. Report/Dashboard Section
    14. Testimonials Section
    15. CTA Section
    16. Contact Page Specifics
    17. FAQ Section
    18. Legal Page Specifics
    19. Animations & Keyframes
    20. Responsive Design (Media Queries)
*/

/* 1. :root Variables */
:root {
    --bg-dark: #0a192f;
    --bg-light-dark: #112240;
    --text-light: #ccd6f6;
    --text-medium: #8892b0;
    --primary: #64ffda;
    --primary-darker: #4bc4ab;
    --white: #ffffff;
    --font-primary: 'Poppins', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
    --header-height: 80px;
    --border-radius: 4px;
    --transition-speed: 0.3s;
    --section-padding: 100px 0;
}

/* 2. Global Styles & Resets */
*,
*::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-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--primary-darker);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

/* 3. Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-orbit {
    width: 100px;
    height: 100px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: relative;
    animation: rotateOrbit 10s linear infinite;
}

.loader-planet {
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary);
}


/* 4. Utility Classes */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--white);
}

/* 5. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

.header.scrolled-down {
    top: -100px;
}

.header.scrolled-up {
    top: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 22px;
    position: relative;
}

.mobile-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle .bar:nth-child(1) {
    top: 0;
}

.mobile-toggle .bar:nth-child(2) {
    top: 10px;
}

.mobile-toggle .bar:nth-child(3) {
    top: 20px;
}

.nav.active+.header-actions .mobile-toggle .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav.active+.header-actions .mobile-toggle .bar:nth-child(2) {
    opacity: 0;
}

.nav.active+.header-actions .mobile-toggle .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* 6. Footer */
.footer {
    background-color: var(--bg-light-dark);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col .footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-medium);
    color: var(--text-medium);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    color: var(--bg-dark);
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-medium);
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.contact-info i {
    color: var(--primary);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-medium);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* 7. Buttons & Forms */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 1rem;
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.btn-primary::before {
    background-color: var(--bg-light-dark);
}

.btn-primary:hover {
    color: var(--primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
}

.btn-secondary:hover {
    color: var(--bg-dark);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--primary);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-color: rgba(100, 255, 218, 0.5);
}

.btn-tertiary:hover {
    color: var(--bg-dark);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--bg-light-dark);
    border: 1px solid var(--text-medium);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.custom-select {
    position: relative;
}

.custom-select::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-check input[type="checkbox"] {
    width: auto;
}

.terms-check label {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.terms-check a {
    text-decoration: underline;
}

/* 8. Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-3d-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    perspective: 1000px;
}

.hero-3d-shapes .shape {
    position: absolute;
    background-color: rgba(100, 255, 218, 0.1);
    border: 1px solid rgba(100, 255, 218, 0.2);
    animation: float 20s ease-in-out infinite, rotate3D 30s linear infinite;
}

.shape-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 10%;
    animation-delay: 5s;
    animation-duration: 25s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 5%;
    animation-delay: 10s;
}

.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    right: 50%;
    animation-delay: 15s;
}

.shape-5 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 20%;
    animation-delay: 8s;
}

.shape-6 {
    width: 70px;
    height: 70px;
    top: 80%;
    right: 25%;
    animation-delay: 3s;
}

/* 9. Page Hero (Internal Pages) */
.page-hero {
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 25, 47, 0.9), var(--bg-dark)), var(--bg-light-dark);
}

.page-hero h1 {
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* 10. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-light-dark);
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    transition: transform 0.3s ease, border-color 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    min-height: 320px;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.service-card-front,
.service-card-back {
    padding: 2rem;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: var(--border-radius);
    background-color: var(--bg-light-dark);
}

.service-card-back {
    transform: rotateY(180deg);
}

.service-card:hover .service-card-front {
    transform: rotateY(-180deg);
}

.service-card:hover .service-card-back {
    transform: rotateY(0);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card-back h3 {
    color: var(--primary);
}

.service-card-back ul {
    margin-bottom: 1.5rem;
}

.service-card-back li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.service-card-back li::before {
    content: '✓';
    color: var(--primary);
    margin-right: 0.5rem;
}

.service-card-back .btn {
    margin-top: auto;
}


/* 11. Process Section */
.process-section {
    background-color: var(--bg-light-dark);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(136, 146, 176, 0.3);
    transform: translateX(-1px);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    border: 3px solid var(--primary);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-step {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* 12. Industry Section */
.industry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.industry-tabs {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-light-dark);
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.tab-link i {
    color: var(--primary);
    transition: transform var(--transition-speed) ease;
}

.tab-link:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.tab-link.active {
    background-color: var(--primary);
    color: var(--bg-dark);
}

.tab-link.active i {
    color: var(--bg-dark);
}

.industry-images {
    position: relative;
    min-height: 400px;
}

.tab-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
}

.tab-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.tab-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.tab-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tab-caption p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* 13. Report/Dashboard Section */
.report-section {
    background-color: var(--bg-light-dark);
}

.dashboard-mockup {
    background-color: var(--bg-dark);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
    margin-bottom: 1.5rem;
}

.dashboard-header h4 {
    margin-bottom: 0;
}

.date-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    color: var(--text-medium);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    grid-template-areas:
        "kpi1 kpi2 kpi3 kpi4"
        "chart chart geo geo";
}

.kpi-card {
    grid-area: kpi1;
}

.kpi-card:nth-child(2) {
    grid-area: kpi2;
}

.kpi-card:nth-child(3) {
    grid-area: kpi3;
}

.kpi-card:nth-child(4) {
    grid-area: kpi4;
}

.chart-card {
    grid-area: chart;
}

.geo-card {
    grid-area: geo;
}

.kpi-card,
.chart-card,
.geo-card {
    background-color: var(--bg-light-dark);
    padding: 1.5rem;
    border-radius: var(--border-radius);
}

.kpi-card h5 {
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.kpi-change {
    font-family: var(--font-mono);
}

.kpi-change.positive {
    color: #64ffda;
}

.kpi-change.negative {
    color: #ff6489;
}

.chart-card h5,
.geo-card h5 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    width: 100px;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.bar {
    height: 20px;
    background: linear-gradient(90deg, var(--primary-darker), var(--primary));
    border-radius: 3px;
    animation: bar-load 1s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}

.visible .bar-item:nth-child(1) .bar {
    animation-delay: 0.1s;
}

.visible .bar-item:nth-child(2) .bar {
    animation-delay: 0.2s;
}

.visible .bar-item:nth-child(3) .bar {
    animation-delay: 0.3s;
}

.visible .bar-item:nth-child(4) .bar {
    animation-delay: 0.4s;
}


/* 14. 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-slide {
    flex: 0 0 100%;
    padding: 2rem;
    background-color: var(--bg-light-dark);
    border-radius: var(--border-radius);
}

.testimonial-content {
    position: relative;
    padding-left: 3rem;
}

.testimonial-content i {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

.testimonial-author {
    margin-top: 1.5rem;
    padding-left: 3rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.slider-controls button {
    background: transparent;
    border: 1px solid var(--text-medium);
    color: var(--text-medium);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-controls button:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-medium);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}


/* 15. CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--bg-light-dark);
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}


/* 16. Contact Page Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--bg-light-dark);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-info-panel .section-tag {
    margin-bottom: 0;
}

.contact-info-panel h2 {
    margin-top: 0.5rem;
}

.contact-methods {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.method-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.method-details p,
.method-details a {
    margin-bottom: 0;
    color: var(--text-medium);
}

.contact-social {
    margin-top: 2.5rem;
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    background-color: var(--bg-dark);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.contact-form .form-header .section-tag {
    margin-bottom: 0;
}

.contact-form .form-header h2 {
    margin-top: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--bg-light-dark);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.visible .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 1.8rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* 17. FAQ Section */
.faq-section {
    background-color: var(--bg-light-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-dark);
    border: 1px solid rgba(136, 146, 176, 0.2);
    border-radius: var(--border-radius);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 1.2rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
    padding-top: 1.5rem;
}

/* 18. Legal Page Specifics */
.page-content-section {
    background-color: var(--bg-dark);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper h3 {
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

/* 19. Animations & Keyframes */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -40px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes rotate3D {
    0% {
        transform: rotate3d(1, 1, 1, 0deg);
    }

    100% {
        transform: rotate3d(1, 1, 1, 360deg);
    }
}

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes bar-load {
    to {
        transform: scaleX(1);
    }
}

.animate-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.fade-up {
    transform: translateY(30px);
}

.animate-in.slide-in-left {
    transform: translateX(-30px);
}

.animate-in.slide-in-right {
    transform: translateX(30px);
}

.animate-in.zoom-in {
    transform: scale(0.95);
}

.animate-in.visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* 20. Responsive Design */
@media (max-width: 1024px) {
    .industry-wrapper {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "kpi1 kpi2"
            "kpi3 kpi4"
            "chart chart"
            "geo geo";
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .header .btn {
        display: none;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-light-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -10px 0px 30px -15px rgba(2, 12, 27, 0.7);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .process-timeline::before {
        left: 10px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 3rem;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 1rem;
    }

    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "kpi1" "kpi2" "kpi3" "kpi4" "chart" "geo";
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}