/*
================================================
TABLE OF CONTENTS
================================================
1.  RESET & ROOT VARIABLES
2.  GENERAL & UTILITY CLASSES
3.  PRELOADER
4.  HEADER & NAVIGATION
5.  HERO SECTION
6.  BUTTONS
7.  SECTION STYLES
8.  SERVICES SECTION
9.  ABOUT SECTION
10. INDUSTRY TABS SECTION
11. ROI CALCULATOR SECTION
12. TESTIMONIALS SECTION
13. CTA SECTION
14. PAGE HEADER (FOR INNER PAGES)
15. CONTACT PAGE SECTION
16. LEGAL CONTENT SECTION
17. FOOTER
18. INTERACTIVE ELEMENTS (POPUP, CHAT)
19. ANIMATIONS & KEYFRAMES
20. RESPONSIVE MEDIA QUERIES
================================================
*/


/* 1. RESET & ROOT VARIABLES
------------------------------------------------*/
:root {
    --color-primary: #08D9D6;
    /* Vibrant Cyan */
    --color-secondary: #FF2E63;
    /* Electric Magenta */
    --color-dark: #111827;
    /* Deep Charcoal */
    --color-light: #F9F9F9;
    /* Off-White */
    --color-gray: #9CA3AF;
    --color-card-bg: #1F2937;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-smooth: all 0.3s ease-in-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-dark);
    color: var(--color-gray);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-light);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* 2. GENERAL & UTILITY CLASSES
------------------------------------------------*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 1rem;
}

.section-intro {
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}


/* 3. PRELOADER
------------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

.preloader-logo img {
    max-width: 100px;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}


/* 4. HEADER & NAVIGATION
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    max-height: 80px;
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}


.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-light);
    cursor: pointer;
}

.nav-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-light);
    background: none;
    border: none;
    cursor: pointer;
}


/* 5. HERO SECTION
------------------------------------------------*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: radial-gradient(circle at 20% 80%, rgba(8, 217, 214, 0.1), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255, 46, 99, 0.1), transparent 40%);
}

.hero-background-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.blob1 {
    width: 400px;
    height: 400px;
    background-color: var(--color-primary);
    top: 10%;
    left: 10%;
    animation: blob-move1 20s infinite alternate;
}

.blob2 {
    width: 300px;
    height: 300px;
    background-color: var(--color-secondary);
    bottom: 10%;
    right: 15%;
    animation: blob-move2 25s infinite alternate;
}

.blob3 {
    width: 250px;
    height: 250px;
    background-color: #5A67D8;
    /* A purple tone */
    top: 50%;
    right: 5%;
    animation: blob-move3 18s infinite alternate;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--color-light), var(--color-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 550px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-3d-graphics {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.stat-card {
    background: rgba(31, 41, 55, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    width: 280px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform-style: preserve-3d;
    will-change: transform;
}

.stat-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    transform: translateZ(20px);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-light);
    transform: translateZ(40px);
}

.stat-card p {
    margin-bottom: 0;
    color: var(--color-gray);
    transform: translateZ(20px);
}


/* 6. BUTTONS
------------------------------------------------*/
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: var(--color-dark);
    box-shadow: 0 5px 15px rgba(8, 217, 214, 0.3);
}

.btn-primary:hover {
    color: var(--color-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 46, 99, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.btn-full {
    width: 100%;
}

.pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
}

.contactButton:hover .pulse {
    animation: pulse-effect 0.75s ease-out;
}

/* 7. SECTION STYLES
------------------------------------------------*/
.services-section {
    background-color: var(--color-dark);
}

.about-section {
    background-color: #141d2e;
}

.industry-section {
    background-color: var(--color-dark);
}

.roi-calculator-section {
    background-color: #141d2e;
}

.testimonials-section {
    background-color: var(--color-dark);
}

.cta-section {
    background: linear-gradient(rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.9)),
        url(https://images.unsplash.com/photo-1553877522-976993eA9E26?q=80&w=2070&auto=format&fit=crop) no-repeat center center/cover;
    padding: 6rem 0;
    text-align: center;
}

/* 8. SERVICES SECTION
------------------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    height: 350px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: var(--color-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.service-card-front {
    z-index: 2;
}

.service-card-back {
    transform: rotateY(180deg);
    align-items: flex-start;
    text-align: left;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.service-title {
    margin-bottom: 1rem;
}

.service-desc {
    margin-bottom: 0;
}

.service-card-back h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.service-card-back ul {
    margin-bottom: 2rem;
    padding-left: 1rem;
    list-style-type: none;
}

.service-card-back li {
    margin-bottom: 0.75rem;
    position: relative;
}

.service-card-back li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--color-primary);
    position: absolute;
    left: -1.5rem;
}

.service-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-light);
}

.service-link:hover {
    color: var(--color-primary);
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 9. ABOUT SECTION
------------------------------------------------*/
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 217, 214, 0.2), rgba(255, 46, 99, 0.2));
    opacity: 0.5;
}

.about-image img {
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-features-list {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.about-features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.about-features-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

/* 10. INDUSTRY TABS SECTION
------------------------------------------------*/
.industry-tabs-wrapper {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.industry-tabs-nav {
    display: flex;
    justify-content: space-around;
    background-color: var(--color-dark);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.tab-link {
    background: none;
    border: none;
    color: var(--color-gray);
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-link:hover {
    color: var(--color-light);
}

.tab-link.active {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-content h3 {
    margin-bottom: 1rem;
}

.tab-content .btn-secondary {
    margin-top: 1.5rem;
}

/* 11. ROI CALCULATOR SECTION
------------------------------------------------*/
.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-calculator {
    background-color: var(--color-card-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-calculator .form-group {
    margin-bottom: 1.5rem;
}

.roi-calculator label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.roi-calculator input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-light);
    font-size: 1rem;
}

.roi-results {
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.roi-results h4 {
    color: var(--color-gray);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

#roiResult {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* 12. TESTIMONIALS SECTION
------------------------------------------------*/
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: var(--color-secondary);
    opacity: 0.3;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #FFC107;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    left: -1rem;
    right: -1rem;
    width: calc(100% + 2rem);
}

.slider-controls button {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-controls button:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* 13. CTA SECTION
------------------------------------------------*/
.cta-container {
    max-width: 800px;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta-text {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}


/* 14. PAGE HEADER (FOR INNER PAGES)
------------------------------------------------*/
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, var(--color-dark), #141d2e);
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a {
    color: var(--color-gray);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs span {
    color: var(--color-light);
}

.breadcrumbs i {
    font-size: 0.8rem;
}


/* 15. CONTACT PAGE SECTION
------------------------------------------------*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-panel h3 {
    margin-bottom: 1rem;
}

.contact-details-list {
    margin-top: 2rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}

.contact-details-list h4 {
    margin-bottom: 0.25rem;
}

.contact-details-list p,
.contact-details-list a {
    margin-bottom: 0;
    color: var(--color-gray);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-light);
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.contact-form label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--color-gray);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form input:focus+label,
.contact-form textarea:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-primary);
    background-color: var(--color-card-bg);
    padding: 0 0.25rem;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2308D9D6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}


/* 16. LEGAL CONTENT SECTION
------------------------------------------------*/
.legal-content {
    background-color: var(--color-dark);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.page-content p {
    color: var(--color-gray);
}


/* 17. FOOTER
------------------------------------------------*/
.footer {
    background-color: var(--color-dark);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    max-width: 120px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-card-bg);
    border-radius: 50%;
    color: var(--color-light);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-col-title {
    margin-bottom: 1.5rem;
    color: var(--color-light);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--color-gray);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--color-primary);
}

.footer-contact a,
.footer-contact span {
    color: var(--color-gray);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}


/* 18. INTERACTIVE ELEMENTS (POPUP, CHAT)
------------------------------------------------*/
/* Success Popup */
.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;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup.show {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background-color: var(--color-card-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-dark);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite ease-in-out;
}

.chat-tooltip {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    right: 70px;
    background-color: var(--color-card-bg);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--color-light);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.chat-widget:hover .chat-tooltip {
    opacity: 1;
    right: 80px;
}


/* 19. ANIMATIONS & KEYFRAMES
------------------------------------------------*/
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes pulse-effect {
    to {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    opacity: 0;
}

.animate-in.is-visible {
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-in.is-visible[data-animation="fade-in-up"] {
    animation-name: fade-in-up;
}

.animate-in.is-visible[data-animation="fade-in-left"] {
    animation-name: fade-in-left;
}

.animate-in.is-visible[data-animation="fade-in-right"] {
    animation-name: fade-in-right;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

@keyframes blob-move1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, -30px) scale(1.1);
    }
}

@keyframes blob-move2 {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(-40px, 60px) rotate(90deg);
    }
}

@keyframes blob-move3 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2) translate(30px, 30px);
    }
}


/* 20. RESPONSIVE MEDIA QUERIES
------------------------------------------------*/
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-card-bg);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-close {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-graphics {
        order: 1;
        margin-bottom: 3rem;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }

    .hero-subtitle {
        margin: 1.5rem auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .roi-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-wrapper {
        padding: 2rem;
    }

    .industry-tabs-nav {
        flex-wrap: wrap;
    }

    .tab-link {
        flex-grow: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul {
        padding-left: 0;
    }

    .footer-contact ul {
        padding-left: 0;
    }

    .footer-contact li {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-3d-graphics {
        flex-direction: column;
    }

    .slider-controls {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 1.5rem;
        justify-content: center;
        gap: 1rem;
    }

    .page-content,
    .contact-wrapper {
        padding: 1.5rem;
    }

    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
}