/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  HELPER & UTILITY CLASSES
3.  HEADER & NAVIGATION
4.  MOBILE MENU
5.  HERO SECTION & 3D ANIMATION
6.  PAGE HEADERS (CONTACT & LEGAL)
7.  SECTION STYLES (COMMON)
8.  SERVICES SECTION
9.  PROCESS SECTION
10. INTERACTIVE REPORT SECTION
11. PRICING SECTION
12. SERVICE CALCULATOR SECTION
13. TESTIMONIALS SECTION
14. CALL TO ACTION (CTA) SECTION
15. CONTACT PAGE
16. LEGAL PAGES
17. FOOTER
18. POPUP & MODAL
19. LIVE CHAT WIDGET
20. SCROLL & LOAD ANIMATIONS
21. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. GLOBAL STYLES & VARIABLES */
/* ================================================ */
:root {
    --primary-color: #00f2ff;
    --secondary-color: #8a2be2;
    --background-dark: #0a0a1a;
    --background-light: #101024;
    --background-card: #14142b;
    --text-primary: #ffffff;
    --text-secondary: #adb5bd;
    --border-color: rgba(255, 255, 255, 0.1);
    --glow-color-primary: rgba(0, 242, 255, 0.5);
    --glow-color-secondary: rgba(138, 43, 226, 0.5);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-dark);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-primary);
}

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

/* 2. HELPER & UTILITY CLASSES */
/* ================================================ */
.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    margin-right: 8px;
}

.btn i {
    transition: transform var(--transition-speed) ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--background-dark);
    box-shadow: 0 0 20px var(--glow-color-primary);
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--glow-color-secondary);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.btn-block {
    width: 100%;
    display: flex;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* 3. HEADER & NAVIGATION */
/* ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: top var(--transition-speed) ease;
}

.header.scrolled {
    top: -var(--header-height);
}

.header.visible {
    top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {

    height: 60px;

}

.main-nav .nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--text-primary);
    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;
}

/* 4. MOBILE MENU */
/* ================================================ */
.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);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--background-dark);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin: 20px 0;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* 5. HERO SECTION & 3D ANIMATION */
/* ================================================ */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
}

.hero-subtitle {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-3d-wrapper {
    perspective: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-object {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

.hero-3d-object .face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(20, 20, 43, 0.8);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    box-shadow: inset 0 0 20px var(--glow-color-primary);
}

.face.front {
    transform: rotateY(0deg) translateZ(125px);
}

.face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

/* 6. PAGE HEADERS (CONTACT & LEGAL) */
/* ================================================ */
.page-header-section {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    background: var(--background-light);
    margin-top: var(--header-height);
}

#particles-js-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.legal-header {
    padding: 80px 0 40px;
}

/* 7. SECTION STYLES (COMMON) */
/* ================================================ */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* 8. SERVICES SECTION */
/* ================================================ */
.services-section {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--background-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-speed) ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px var(--glow-color-primary);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* 9. PROCESS SECTION */
/* ================================================ */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 0;
}

.process-step {
    padding: 30px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    padding-right: 80px;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    padding-left: 80px;
    text-align: left;
}

.process-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.process-step:nth-child(odd) .process-number {
    right: -40px;
}

.process-step:nth-child(even) .process-number {
    left: -40px;
}

.process-content {
    padding: 30px;
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    position: relative;
    transition: all var(--transition-speed) ease;
}

.process-step:hover .process-content {
    border-color: var(--secondary-color);
    transform: scale(1.03);
}

.process-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 2;
    border: 4px solid var(--background-dark);
}

.process-step:nth-child(odd) .process-icon {
    right: -30px;
}

.process-step:nth-child(even) .process-icon {
    left: -30px;
}

/* 10. INTERACTIVE REPORT SECTION */
/* ================================================ */
.report-section {
    background-color: var(--background-light);
}

.report-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.report-info .section-header {
    text-align: left;
}

.report-info p {
    margin-bottom: 2rem;
}

.report-dashboard {
    background: var(--background-card);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.date-range {
    background-color: var(--background-dark);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background-color: var(--background-light);
    padding: 15px;
    border-radius: 8px;
}

.metric-card h5 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.metric-value {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.metric-change {
    font-size: 0.9rem;
    font-weight: 700;
}

.metric-change.positive {
    color: #00ff8c;
}

.metric-change.negative {
    color: #ff4d4d;
}

.chart-container h5 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.bar-chart {
    display: flex;
    gap: 15px;
    height: 150px;
    align-items: flex-end;
}

.bar-item {
    flex: 1;
    background-color: var(--bar-color);
    border-radius: 5px 5px 0 0;
    position: relative;
    height: var(--bar-value);
    animation: grow-bar 1s ease-out forwards;
    transform-origin: bottom;
    transform: scaleY(0);
}

.bar-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
}

@keyframes grow-bar {
    to {
        transform: scaleY(1);
    }
}

/* 11. PRICING SECTION */
/* ================================================ */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-family: var(--font-heading);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background-light);
    transition: .4s;
    border: 1px solid var(--border-color);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: var(--primary-color);
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--secondary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-speed) ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricing-card.popular .pricing-icon {
    color: var(--secondary-color);
}

.price {
    margin: 20px 0;
}

.price-value {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
}

.price-period {
    color: var(--text-secondary);
}

.features-list {
    margin-bottom: 30px;
    flex-grow: 1;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--primary-color);
}

.features-list li.disabled {
    color: #6c757d;
    text-decoration: line-through;
}

.features-list li.disabled i {
    color: #6c757d;
}

/* 12. SERVICE CALCULATOR SECTION */
/* ================================================ */
.calculator-section {
    background-color: var(--background-light);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background-color: var(--background-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.calculator-options h4 {
    margin-bottom: 20px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.options-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

#adSpend {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: var(--background-light);
    outline: none;
    border-radius: 5px;
}

#adSpend::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
}

.calculator-result {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.total-cost {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin: 10px 0;
}

.calculator-result p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* 13. TESTIMONIALS SECTION */
/* ================================================ */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    min-height: 250px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-text::before {
    content: '“';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.2;
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-btn {
    background: var(--background-card);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--background-dark);
}

/* 14. CALL TO ACTION (CTA) SECTION */
/* ================================================ */
.cta-section {
    padding: 0;
}

.cta-container {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--background-dark);
}

.cta-title .text-gradient {
    background: var(--background-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-text {
    color: var(--background-light);
    max-width: 500px;
}

.cta-action .btn-primary {
    background: var(--background-dark);
    color: var(--text-primary);
    border-color: var(--background-dark);
}

.cta-action .btn-primary:hover {
    background: transparent;
    border-color: var(--background-dark);
    color: var(--background-dark);
}

/* 15. CONTACT PAGE */
/* ================================================ */
.contact-section-standalone {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info .section-header {
    text-align: left;
}

.contact-details {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
}

.contact-form-wrapper {
    background-color: var(--background-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--background-card);
    padding: 0 5px;
    color: var(--primary-color);
}

/* 16. LEGAL PAGES */
/* ================================================ */
.legal-content {
    padding: 40px 0 80px;
}

.legal-content .container {
    max-width: 800px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.legal-section p {
    line-height: 1.8;
}

/* 17. FOOTER */
/* ================================================ */
.footer {
    background-color: var(--background-light);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.about-col p {
    margin-bottom: 20px;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background-card);
    color: var(--text-secondary);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

.footer-col h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul a {
    color: var(--text-secondary);
}

.links-col ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal-links a {
    margin-left: 20px;
    color: var(--text-secondary);
}

.footer-legal-links a:hover {
    color: var(--text-primary);
}

/* 18. POPUP & MODAL */
/* ================================================ */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--background-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--primary-color);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #00ff8c;
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 15px;
}

.popup-content p {
    margin-bottom: 25px;
}

/* 19. LIVE CHAT WIDGET */
/* ================================================ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: var(--background-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-window.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--background-light);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    position: relative;
}

.avatar::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background-color: #00ff8c;
    border-radius: 50%;
    border: 2px solid var(--background-light);
}

.agent-name {
    font-weight: 600;
    color: var(--text-primary);
}

.close-chat {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

.message p {
    padding: 10px 15px;
    border-radius: 20px;
    max-width: 80%;
    line-height: 1.4;
}

.message.received p {
    background-color: var(--background-light);
    border-top-left-radius: 5px;
}

.chat-footer {
    display: flex;
    padding: 15px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    background: var(--background-light);
    border: none;
    padding: 10px;
    border-radius: 20px;
    color: white;
}

.chat-footer input:focus {
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
    cursor: pointer;
}


/* 20. SCROLL & LOAD ANIMATIONS */
/* ================================================ */
.animate-on-load,
.animate-on-scroll {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up {
    transform: translateY(50px);
}

.fade-right {
    transform: translateX(-50px);
}

.fade-left {
    transform: translateX(50px);
}

.zoom-in {
    transform: scale(0.9);
}

.animate-on-load.animated,
.animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* 21. RESPONSIVE DESIGN */
/* ================================================ */

/* Tablets (landscape) and small desktops */
@media (max-width: 1200px) {
    .process-timeline::after {
        left: 30px;
        margin-left: 0;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left !important;
    }

    .process-step:nth-child(even) {
        left: 0;
    }

    .process-number {
        left: -10px !important;
    }

    .process-icon {
        left: 0 !important;
    }
}

/* Tablets (portrait) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .header-container {
        padding: 0 15px;
    }

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-wrapper {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .report-wrapper {
        grid-template-columns: 1fr;
    }

    .report-info .section-header {
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info .section-header {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-col p {
        margin: 0 auto 20px auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .process-timeline::after {
        display: none;
    }

    .process-step {
        padding: 20px 0;
    }

    .process-number,
    .process-icon {
        display: none;
    }

    .chat-window {
        width: calc(100vw - 40px);
        bottom: 70px;
        right: -10px;
    }

    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
}