/*
================================================
TABLE OF CONTENTS
================================================
1.  RESET & GLOBAL STYLES
2.  CSS VARIABLES
3.  UTILITY CLASSES & KEYFRAMES
4.  CURSOR STYLES
5.  HEADER & NAVIGATION
6.  BUTTON STYLES
7.  HERO SECTION
8.  GENERAL PAGE & SECTION STYLES
9.  SERVICES SECTION
10. PROCESS SECTION
11. INDUSTRIES SECTION
12. TESTIMONIALS SECTION
13. CTA SECTION
14. FOOTER
15. CONTACT & LEGAL PAGES
16. FORMS & POPUP
17. INTERACTIVE WIDGETS (LIVE CHAT)
18. RESPONSIVE DESIGN
================================================
*/

/* 1. RESET & GLOBAL STYLES */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-text-title);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--color-accent-primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. CSS VARIABLES */
:root {
    --color-bg-dark: #0a0a14;
    --color-bg-medium: #101222;
    --color-bg-light: #1c1e33;
    --color-accent-primary: #00f2ea;
    --color-accent-secondary: #ff00c1;
    --color-text-title: #ffffff;
    --color-text-primary: #c0c8e7;
    --color-border: rgba(0, 242, 234, 0.2);
    --header-height: 80px;
    --border-radius: 8px;
    --shadow-glow: 0 0 15px rgba(0, 242, 234, 0.3), 0 0 30px rgba(0, 242, 234, 0.2);
}

/* 3. UTILITY CLASSES & KEYFRAMES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-primary);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-animation="slide-in-right"] {
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="slide-in-right"].is-visible {
    transform: translateX(0);
}

.animate-on-scroll[data-animation="slide-in-left"] {
    transform: translateX(50px);
}

.animate-on-scroll[data-animation="slide-in-left"].is-visible {
    transform: translateX(0);
}

.animate-on-load {
    opacity: 0;
}

.animate-on-load[data-animation="fade-in-up"] {
    transform: translateY(20px);
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 242, 234, 0.6);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* 4. CURSOR STYLES */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-accent-primary);
    transition-duration: 0.1s;
}

.cursor-outline.hovered {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 242, 234, 0.1);
}

/* 5. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.3s ease, top 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 20, 0.95);
}

.header.hidden {
    top: -100px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.header__logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.header__logo:hover img {
    transform: scale(1.1);
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    color: var(--color-text-primary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent-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;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-text-title);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle__bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-title);
    transition: all 0.3s ease;
}

.nav-toggle__bar:nth-child(1) {
    top: 0;
}

.nav-toggle__bar:nth-child(2) {
    top: 10px;
}

.nav-toggle__bar:nth-child(3) {
    top: 20px;
}

.nav-toggle.open .nav-toggle__bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.nav-toggle.open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}


/* 6. BUTTON STYLES */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border: 2px solid transparent;
    cursor: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn--primary {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-accent-primary);
}

.btn--primary:hover {
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -1;
}

.btn--primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text-title);
    border-color: var(--color-border);
}

.btn--secondary:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
}

.btn--large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn--full-width {
    width: 100%;
}

/* 7. HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
}

.hero__glow-circle--1 {
    width: 500px;
    height: 500px;
    background-color: var(--color-accent-primary);
    top: 10%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

.hero__glow-circle--2 {
    width: 400px;
    height: 400px;
    background-color: var(--color-accent-secondary);
    bottom: 5%;
    right: 5%;
    animation: float 12s ease-in-out infinite reverse;
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero__title--line1,
.hero__title--line2 {
    display: block;
}

.hero__title--line2 {
    background: -webkit-linear-gradient(45deg, var(--color-accent-primary), var(--color-accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: var(--color-text-primary);
    font-weight: 300;
}

.hero__cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Page load animations */
.animate-on-load {
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.animate-on-load.fade-in-up {
    animation-name: fade-in-up;
}

.animate-on-load[data-delay='200'] {
    animation-delay: 0.2s;
}

.animate-on-load[data-delay='400'] {
    animation-delay: 0.4s;
}


/* 8. GENERAL PAGE & SECTION STYLES */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-medium) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(0, 242, 234, 0.05), transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 193, 0.05), transparent 30%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-primary);
}


/* 9. SERVICES SECTION */
.services {
    background-color: var(--color-bg-medium);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--color-accent-primary), transparent 30%);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background-color: var(--color-bg-light);
    border-radius: calc(var(--border-radius) - 2px);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--color-accent-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    line-height: 1;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-title);
}

.service-card__description {
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
}

.service-card__link {
    font-weight: 600;
    color: var(--color-accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card__link i {
    transition: transform 0.3s ease;
}

.service-card__link:hover i {
    transform: translateX(5px);
}

/* 10. PROCESS SECTION */
.process {
    position: relative;
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
    z-index: 0;
    opacity: 0.2;
}

.process__item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 40px;
}

.process__item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
    text-align: right;
}

.process__item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
    text-align: left;
}

.process__step-number {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-bg-light);
    border: 3px solid var(--color-accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-title);
    z-index: 1;
    transition: background-color 0.3s, transform 0.3s;
}

.process__item:hover .process__step-number {
    background-color: var(--color-accent-primary);
    color: var(--color-bg-dark);
    transform: translateY(-50%) scale(1.1);
}

.process__item:nth-child(odd) .process__step-number {
    right: -25px;
}

.process__item:nth-child(even) .process__step-number {
    left: -25px;
}

.process__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-secondary);
}

.process__item:nth-child(odd) .process__title {
    color: var(--color-accent-primary);
}


/* 11. INDUSTRIES SECTION */
.industries {
    background-color: var(--color-bg-medium);
}

.industries__wrapper {
    display: flex;
    background-color: var(--color-bg-dark);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.industries__tabs {
    flex: 0 0 250px;
    border-right: 1px solid var(--color-border);
    padding: 1rem 0;
}

.industries__tab-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: none;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

.industries__tab-button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background-color: var(--color-accent-primary);
    transition: height 0.3s ease;
}

.industries__tab-button:hover {
    background-color: var(--color-bg-light);
    color: var(--color-text-title);
}

.industries__tab-button.active {
    background-color: var(--color-bg-light);
    color: var(--color-accent-primary);
}

.industries__tab-button.active::before {
    height: 100%;
}

.industries__tab-button i {
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.industries__content-panels {
    padding: 2.5rem;
    flex: 1;
}

.industries__panel {
    display: none;
}

.industries__panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.industries__panel-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.industries__panel ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.industries__panel li {
    position: relative;
    padding-left: 25px;
}

.industries__panel li::before {
    content: '\f058';
    /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--color-accent-primary);
}

/* 12. TESTIMONIALS SECTION */
.testimonial__slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial__slider {
    display: flex;
    overflow: hidden;
}

.testimonial__card {
    flex: 0 0 100%;
    padding: 2.5rem;
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
    text-align: center;
}

.testimonial__text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-title);
    margin-bottom: 2rem;
    position: relative;
    padding: 0 2rem;
}

.testimonial__text::before,
.testimonial__text::after {
    content: '“';
    font-family: 'Georgia', serif;
    font-size: 5rem;
    position: absolute;
    color: var(--color-accent-primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial__text::before {
    top: -1rem;
    left: -1rem;
}

.testimonial__text::after {
    content: '”';
    bottom: -3.5rem;
    right: -1rem;
}

.author__name {
    font-size: 1.2rem;
    color: var(--color-text-title);
}

.author__title {
    color: var(--color-text-primary);
}

.testimonial__controls {
    margin-top: 1.5rem;
    text-align: center;
}

.testimonial__arrow {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin: 0 0.5rem;
    cursor: none;
    transition: all 0.3s ease;
}

.testimonial__arrow:hover {
    border-color: var(--color-accent-primary);
    background-color: rgba(0, 242, 234, 0.1);
    color: var(--color-accent-primary);
}

/* 13. CTA SECTION */
.cta {
    background: linear-gradient(45deg, var(--color-bg-medium), var(--color-bg-dark));
}

.cta__container {
    text-align: center;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta__subtitle {
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.cta__action .btn {
    animation: glow-pulse 3s infinite;
}

/* 14. FOOTER */
.footer {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-border);
    padding: 60px 0 30px;
}

.footer__main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 40px;
}

.footer__logo img {
    height: 80px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer__description {
    max-width: 300px;
}

.footer__heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-title);
    position: relative;
}

.footer__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--color-accent-primary);
}

.footer__links ul li {
    margin-bottom: 0.75rem;
}

.footer__links ul li a {
    color: var(--color-text-primary);
}

.footer__links ul li a:hover {
    color: var(--color-accent-primary);
    padding-left: 5px;
}

.footer__contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__contact ul li i {
    margin-top: 5px;
    color: var(--color-accent-primary);
}

.footer__contact ul li a {
    color: var(--color-text-primary);
}

.footer__bottom {
    text-align: center;
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    color: var(--color-text-primary);
}

/* 15. CONTACT & LEGAL PAGES */
.legal-page__container {
    max-width: 800px;
}

.legal-page__container h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-accent-primary);
}

.legal-page__container p {
    margin-bottom: 1rem;
}

.legal-page__container ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page__container li {
    margin-bottom: 0.5rem;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-page__info-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-page__info-text {
    margin-bottom: 2rem;
}

.contact-page__details {
    list-style: none;
}

.contact-page__details li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-page__details li i {
    font-size: 1.5rem;
    color: var(--color-accent-primary);
    background-color: var(--color-bg-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
}

.contact-page__details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

/* 16. FORMS & POPUP */
.contact-page__form-wrapper {
    background-color: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: transparent;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-title);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300f2ea' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
}

.form-group label {
    position: absolute;
    top: 14px;
    left: 15px;
    color: var(--color-text-primary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background-color: var(--color-bg-light);
    padding: 0 5px;
    color: var(--color-accent-primary);
}

/* For Select */
.form-group select:required:invalid {
    color: var(--color-text-primary);
}

.form-group option {
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
}


/* Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    border: 1px solid var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    cursor: none;
}

.popup-icon {
    font-size: 3rem;
    color: var(--color-accent-primary);
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* 17. INTERACTIVE WIDGETS (LIVE CHAT) */
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-accent-secondary), var(--color-accent-primary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    cursor: none;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.live-chat-widget:hover {
    transform: scale(1.1);
}

/* 18. RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-bg-medium);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 100px;
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1000;
    }

    .nav.open {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-toggle {
        display: block;
    }

    .footer__main {
        grid-template-columns: 1fr 1fr;
    }

    .footer__about,
    .footer__contact {
        grid-column: 1 / 3;
    }

    .process__item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 80px;
        padding-right: 20px;
    }

    .process__item:nth-child(odd) .process__step-number,
    .process__item:nth-child(even) .process__step-number {
        left: 0;
    }

    .process__timeline::before {
        left: 25px;
    }

    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .page-header__title {
        font-size: 2.8rem;
    }

    .industries__wrapper {
        flex-direction: column;
    }

    .industries__tabs {
        flex: 0 0 auto;
        display: flex;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .industries__tab-button {
        flex: 0 0 auto;
        justify-content: center;
    }

    .industries__tab-button span {
        display: none;
    }

    .industries__tab-button i {
        margin: 0;
    }

    .industries__panel ul {
        grid-template-columns: 1fr;
    }

    .footer__main {
        grid-template-columns: 1fr;
    }

    .footer__about,
    .footer__contact {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero__cta-group {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial__text {
        font-size: 1rem;
    }

    .footer__main {
        text-align: center;
    }

    .footer__about {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer__heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer__contact ul li {
        justify-content: center;
    }
}