/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  HELPER & UTILITY CLASSES
3.  LOADER / PRELOADER
4.  HEADER & NAVIGATION
5.  MOBILE MENU
6.  FOOTER
7.  BUTTONS & FORMS
8.  HERO SECTION
9.  PAGE HEADER (FOR SUBPAGES)
10. SECTION STYLES (COMMON)
11. SERVICES SECTION
12. PROCESS SECTION (TIMELINE)
13. INDUSTRIES SECTION (TABS)
14. INTERACTIVE CALCULATOR SECTION
15. TESTIMONIALS SECTION (SLIDER)
16. CTA (CALL TO ACTION) SECTION
17. CONTACT PAGE STYLES
18. LEGAL PAGE STYLES
19. INTERACTIVE ELEMENTS (POPUP, CHAT)
20. ANIMATIONS & KEYFRAMES
21. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/


/* 1. GLOBAL STYLES & VARIABLES
------------------------------------------------ */
:root {
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;

    --color-bg-dark: #0a0b1e;
    --color-bg-medium: #1c1d3a;
    --color-bg-light: #2a2c52;
    --color-primary: #00f2ea;
    --color-secondary: #8a2be2;
    --color-text-light: #e0e1ff;
    --color-text-medium: #a7a9c8;
    --color-text-dark: #1c1d3a;
    --color-white: #ffffff;
    --color-border: rgba(0, 242, 234, 0.2);

    --header-height: 80px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    background-color: var(--color-bg-dark);
    font-family: var(--font-secondary);
    color: var(--color-text-medium);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-text-light);
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.text-gradient {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


/* 2. HELPER & UTILITY CLASSES
------------------------------------------------ */
.text-center {
    text-align: center;
}

/* Scroll Animation Utilities */
.animate-on-scroll,
.animate-on-load {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible,
.animate-on-load.is-visible {
    opacity: 1;
    transform: none;
}

[data-animation="fade-up"] {
    transform: translateY(50px);
}

[data-animation="fade-down"] {
    transform: translateY(-50px);
}

[data-animation="fade-right"] {
    transform: translateX(-50px);
}

[data-animation="fade-left"] {
    transform: translateX(50px);
}

[data-animation="zoom-in"] {
    transform: scale(0.9);
}

[data-animation="slide-in-left"] {
    transform: translateX(-100%);
    opacity: 0;
}

[data-animation="slide-in-right"] {
    transform: translateX(100%);
    opacity: 0;
}

[data-animation="slide-in-left"].is-visible,
[data-animation="slide-in-right"].is-visible {
    transform: translateX(0);
    opacity: 1;
}

/* 3. LOADER / PRELOADER
------------------------------------------------ */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-cube {
    width: 50px;
    height: 50px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 4s infinite linear;
}

.face {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-primary);
    background: rgba(0, 242, 234, 0.1);
}

.front {
    transform: translateZ(25px);
}

.back {
    transform: rotateY(180deg) translateZ(25px);
}

.right {
    transform: rotateY(90deg) translateZ(25px);
}

.left {
    transform: rotateY(-90deg) translateZ(25px);
}

.top {
    transform: rotateX(90deg) translateZ(25px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(25px);
}

.loader-text {
    margin-top: 2rem;
    font-family: var(--font-primary);
    color: var(--color-primary);
    letter-spacing: 2px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* 4. HEADER & NAVIGATION
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    align-items: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(10, 11, 30, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
}

.logo img {
    height: 80px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.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);
    position: absolute;
    border-radius: 3px;
    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);
}


/* 5. MOBILE MENU
------------------------------------------------ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 11, 30, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.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-primary);
    font-size: 2rem;
    color: var(--color-white);
    padding: 10px;
}

/* 6. FOOTER
------------------------------------------------ */
.footer {
    background-color: var(--color-bg-medium);
    padding: 60px 0 20px;
    border-top: 1px solid var(--color-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.about-col p {
    margin-bottom: 20px;
    max-width: 350px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-primary);
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.footer-col h3 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-secondary);
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul a {
    color: var(--color-text-medium);
}

.links-col ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact li i {
    color: var(--color-primary);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal-links a {
    margin-left: 20px;
    color: var(--color-text-medium);
}

/* 7. BUTTONS & FORMS
------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--color-bg-medium);
    border: 1px solid var(--color-border);
    border-radius: 5px;
    color: var(--color-text-light);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

/* 8. HERO SECTION
------------------------------------------------ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(28, 29, 58, 0.1) 0%, var(--color-bg-dark) 70%);
    z-index: -1;
}

.hero-background-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231c1d3a' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: pan-background 60s linear infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-medium);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-3d-object {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 150px;
    height: 150px;
    z-index: 1;
}

.scene {
    width: 100%;
    height: 100%;
    perspective: 600px;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-50px);
    animation: rotate-hero-cube 15s infinite linear;
    margin: 25px auto;
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid var(--color-secondary);
    background: rgba(138, 43, 226, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--color-primary);
}

.cube-face-front {
    transform: rotateY(0deg) translateZ(50px);
}

.cube-face-back {
    transform: rotateY(180deg) translateZ(50px);
}

.cube-face-right {
    transform: rotateY(90deg) translateZ(50px);
}

.cube-face-left {
    transform: rotateY(-90deg) translateZ(50px);
}

.cube-face-top {
    transform: rotateX(90deg) translateZ(50px);
}

.cube-face-bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

/* 9. PAGE HEADER (FOR SUBPAGES)
------------------------------------------------ */
.page-header-section {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-medium) 0%, var(--color-bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 242, 234, 0.05) 0%, rgba(0, 242, 234, 0) 40%);
    animation: rotate-spotlight 20s linear infinite;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-medium);
}

/* 10. SECTION STYLES (COMMON)
------------------------------------------------ */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
}

/* 11. SERVICES SECTION
------------------------------------------------ */
.services-section {
    background-color: var(--color-bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    border-radius: 10px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 320px;
    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;
    border-radius: 10px;
    background-color: var(--color-bg-medium);
    border: 1px solid var(--color-border);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-back {
    transform: rotateY(180deg);
    background-color: var(--color-bg-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.learn-more {
    margin-top: auto;
    font-weight: 700;
}


/* 12. PROCESS SECTION (TIMELINE)
------------------------------------------------ */
.process-section {
    background: var(--color-bg-dark);
    position: relative;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-bg-medium);
    transform: translateX(-2px);
}

.timeline-item {
    padding: 40px 0;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-bg-light);
    border: 4px solid var(--color-secondary);
    transform: translateY(-50%);
    z-index: 1;
    transition: background-color var(--transition-speed);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-item.is-visible .timeline-dot {
    background: var(--color-primary);
}

.timeline-content {
    background: var(--color-bg-medium);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    border: 1px solid var(--color-border);
}

.timeline-icon {
    position: absolute;
    top: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-white);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -25px;
    transform: translateX(100%);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
    transform: translateX(-100%);
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--color-primary);
}


/* 13. INDUSTRIES SECTION (TABS)
------------------------------------------------ */
.industries-section {
    background-color: var(--color-bg-medium);
}

.tab-triggers {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.tab-trigger {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-medium);
    padding: 15px 30px;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-trigger:hover,
.tab-trigger.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-bg-dark);
}

.tab-content {
    display: none;
    background: var(--color-bg-dark);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.tab-content ul {
    margin-top: 1rem;
}

.tab-content li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.tab-content li i {
    color: var(--color-primary);
    margin-right: 10px;
}


/* 14. INTERACTIVE CALCULATOR SECTION
------------------------------------------------ */
.interactive-section {
    background: var(--color-bg-dark);
}

.interactive-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--color-bg-medium);
    padding: 60px;
    border-radius: 15px;
    border: 1px solid var(--color-border);
}

.calculator-content h2 {
    font-size: 2.2rem;
}

.calculator-content label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.calculator-content input {
    font-size: 1.2rem;
    font-family: var(--font-primary);
}

.results-display {
    background: var(--color-bg-dark);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.results-display h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.metric-card {
    margin-bottom: 20px;
}

.metric-card h4 {
    color: var(--color-text-medium);
    font-size: 1rem;
    margin-bottom: 5px;
}

.metric-card p {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
}

.results-display small {
    display: block;
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 15. TESTIMONIALS SECTION (SLIDER)
------------------------------------------------ */
.testimonials-section {
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgZmlsbD0iIzBhMGIxZSI+PC9yZWN0PjxwYXRoIGQ9Ik0wIDAgMTAwIDEwME0xMDAgMCAwIDEwMCIgc3Ryb2tlPSIjMWMxZDNhIiBzdHJva2Utd2lkdGg9IjIiPjwvcGF0aD48L3N2Zz4=');
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    background: var(--color-bg-medium);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin: 0;
}

.author-info span {
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
}

.slider-btn {
    background: rgba(28, 29, 58, 0.7);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
}

/* 16. CTA (CALL TO ACTION) SECTION
------------------------------------------------ */
.cta-section {
    padding: 0;
}

.cta-wrapper {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    padding: 60px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -70px auto 0;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 2rem;
    color: var(--color-bg-dark);
    margin: 0;
}

.cta-content p {
    color: var(--color-bg-dark);
    opacity: 0.9;
    margin: 5px 0 0;
}

.cta-action .btn {
    background: var(--color-white);
    color: var(--color-bg-dark);
}

.cta-action .btn:hover {
    background: var(--color-bg-dark);
    color: var(--color-white);
    box-shadow: none;
}


/* 17. CONTACT PAGE STYLES
------------------------------------------------ */
.contact-section-standalone {
    padding-bottom: 100px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    background: var(--color-bg-medium);
    padding: 50px;
    border-radius: 15px;
}

.contact-info .section-header {
    margin-bottom: 40px;
}

.contact-info .section-header h2 {
    font-size: 2.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-text h3 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin: 0 0 5px;
}

.contact-text p,
.contact-text a {
    margin: 0;
    color: var(--color-text-medium);
}

.contact-form-wrapper {
    background: var(--color-bg-dark);
    padding: 40px;
    border-radius: 10px;
}

/* 18. LEGAL PAGE STYLES
------------------------------------------------ */
.legal-header {
    padding-bottom: 40px;
    background: var(--color-bg-dark);
}

.legal-content {
    background: var(--color-bg-dark);
    padding-top: 0;
    padding-bottom: 100px;
}

.legal-content .container {
    max-width: 800px;
    background: var(--color-bg-medium);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.legal-section p {
    color: var(--color-text-medium);
}

.legal-section strong {
    color: var(--color-text-light);
}

/* 19. INTERACTIVE ELEMENTS (POPUP, CHAT)
------------------------------------------------ */
/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 30, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-medium);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--color-primary);
    text-align: center;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
    position: relative;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-text-medium);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Live Chat */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-bg-dark);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.4);
    transition: transform var(--transition-speed) ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--color-bg-medium);
    border-radius: 10px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--color-bg-light);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h5 {
    margin: 0;
    color: var(--color-primary);
}

.close-chat {
    background: none;
    border: none;
    color: var(--color-text-medium);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    height: 150px;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--color-border);
}

.chat-footer input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px;
    color: var(--color-text-light);
    outline: none;
}

.chat-footer button {
    background: var(--color-primary);
    border: none;
    padding: 0 20px;
    color: var(--color-bg-dark);
    font-size: 1.1rem;
    cursor: pointer;
}

/* 20. ANIMATIONS & KEYFRAMES
------------------------------------------------ */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pan-background {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-60px, -60px);
    }
}

@keyframes rotate-spotlight {
    from {
        transform: translateX(-50%) rotate(0deg);
    }

    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

@keyframes rotate-cube {
    0% {
        transform: rotateX(0) rotateY(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes rotate-hero-cube {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}


/* 21. RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------ */
@media (max-width: 992px) {

    .main-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-3d-object {
        display: none;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 20px;
        text-align: left;
    }

    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot,
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 20px;
    }

    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon,
    .timeline-item:nth-child(odd) .timeline-icon {
        left: -25px;
        transform: translateX(0);
    }

    .interactive-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-col p {
        margin: 0 auto 20px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .tab-triggers {
        flex-direction: column;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-slide {
        padding: 0 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-wrapper,
    .interactive-wrapper {
        padding: 30px;
    }

    .legal-content .container {
        padding: 30px;
    }
}