/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  PRELOADER
3.  HEADER & NAVIGATION
4.  HERO SECTION & 3D ELEMENT
5.  PARTNERS SECTION
6.  SECTION STYLES (GENERAL)
7.  SERVICES SECTION
8.  ABOUT US SECTION
9.  PROCESS SECTION
10. ROI CALCULATOR SECTION
11. TESTIMONIALS SECTION
12. CTA (CALL TO ACTION) SECTION
13. PAGE HEADER (FOR INNER PAGES)
14. CONTACT PAGE
15. LEGAL PAGES
16. FOOTER
17. UTILITY CLASSES & HELPERS (ANIMATIONS, POPUP, ETC.)
18. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. GLOBAL STYLES & VARIABLES
------------------------------------------------*/
:root {
    --primary-color: #00A9FF;
    /* Vibrant Cyan/Blue */
    --secondary-color: #CDF5FD;
    /* Light Cyan */
    --dark-bg: #0F172A;
    /* Deep Navy Blue */
    --medium-bg: #1E293B;
    /* Lighter Navy */
    --light-bg: #334155;
    /* Slate Gray */
    --text-color: #E2E8F0;
    /* Light Gray Text */
    --heading-color: #FFFFFF;
    /* White Headings */
    --border-color: #475569;
    /* Slate Border */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-secondary);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-primary);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* 2. PRELOADER
------------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.preloader-bar {
    width: 150px;
    height: 4px;
    background-color: var(--medium-bg);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar::before {
    content: '';
    display: block;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 0;
        transform: translateX(150px);
    }
}

/* 3. HEADER & NAVIGATION
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
    gap: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
}

.nav-logo img {

    height: 80px;

}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
}

/* 4. HERO SECTION & 3D ELEMENT
------------------------------------------------*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 169, 255, 0.15) 0%, rgba(0, 169, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content .subtitle {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-3d-wrapper {
    perspective: 1000px;
}

.hero-3d-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, var(--medium-bg), var(--dark-bg));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.hero-3d-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0, 169, 255, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.1s linear;
    pointer-events: none;
    filter: blur(50px);
}

.hero-3d-card:hover .hero-3d-glow {
    opacity: 0.3;
}

.hero-3d-content {
    transform: translateZ(50px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-3d-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-3d-content h3 {
    margin-bottom: 0.5rem;
}

.hero-3d-content p {
    font-size: 0.9rem;
    color: var(--text-color);
}

.hero-3d-chart {
    margin-top: auto;
    display: flex;
    gap: 10px;
    height: 100px;
    align-items: flex-end;
}

.chart-bar {
    flex-grow: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    opacity: 0.8;
    animation: grow-chart 1.5s ease-in-out forwards;
    transform-origin: bottom;
}

@keyframes grow-chart {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* 5. PARTNERS SECTION
------------------------------------------------*/
.partners-section {
    padding: 2rem 0;
    background-color: var(--medium-bg);
}

.partners-section .container {
    text-align: center;
}

.partners-section p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.partner-logos i {
    font-size: 2.5rem;
    color: var(--border-color);
    transition: var(--transition);
}

.partner-logos i:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* 6. SECTION STYLES (GENERAL)
------------------------------------------------*/
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-header p {
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* 7. SERVICES SECTION
------------------------------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--medium-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-link {
    font-weight: 600;
    margin-top: 1.5rem;
    display: inline-block;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}


/* 8. ABOUT US SECTION
------------------------------------------------*/
.about-section {
    background-color: var(--medium-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.about-image-wrapper img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-content p {
    margin-bottom: 2rem;
}

.about-features {
    padding-left: 0;
    margin-bottom: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.about-features i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2rem;
    margin-top: 5px;
}


/* 9. PROCESS SECTION
------------------------------------------------*/
.process-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--border-color));
    z-index: -1;
}

.process-step {
    text-align: center;
    padding: 1rem;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--medium-bg);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.process-step h3 {
    font-size: 1.3rem;
}

/* 10. ROI CALCULATOR SECTION
------------------------------------------------*/
.roi-calculator-section {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://images.pexels.com/photos/590022/pexels-photo-590022.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
}

.roi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.roi-calculator-form {
    background-color: var(--medium-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.roi-calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.roi-calculator-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.roi-calculator-form input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: var(--light-bg);
    height: 8px;
    border-radius: 4px;
    outline: none;
}

.roi-calculator-form input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.roi-calculator-form input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.roi-calculator-form input[type="number"] {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
}

.roi-calculator-form output {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 5px;
}

.roi-result {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.roi-result h4 {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.roi-result span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* 11. 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-card {
    min-width: 100%;
    background-color: var(--medium-bg);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.slider-controls button {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    transform: scale(1.1);
}

/* 12. CTA (CALL TO ACTION) SECTION
------------------------------------------------*/
.cta-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--dark-bg);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-content h2,
.cta-content p {
    color: var(--dark-bg);
}

.cta-content h2 {
    font-size: 2.2rem;
}

.cta-action .btn {
    background-color: var(--heading-color);
    border-color: var(--heading-color);
    color: var(--dark-bg);
}

.cta-action .btn:hover {
    background-color: transparent;
    color: var(--heading-color);
}

/* 13. PAGE HEADER (FOR INNER PAGES)
------------------------------------------------*/
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.pexels.com/photos/1181271/pexels-photo-1181271.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
}

.page-header h1 {
    font-size: 3rem;
}

.breadcrumbs {
    margin-top: 1rem;
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--primary-color);
}

/* 14. CONTACT PAGE
------------------------------------------------*/
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--medium-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-info-block h3 {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-bg);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.info-text h4 {
    margin-bottom: 0.25rem;
}

.contact-form-block {
    padding-left: 3rem;
    border-left: 1px solid var(--border-color);
}

.contact-form .form-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 169, 255, 0.3);
}

/* 15. LEGAL PAGES
------------------------------------------------*/
.legal-content {
    background-color: var(--medium-bg);
}

.legal-container {
    max-width: 800px;
    background-color: var(--dark-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.content-wrapper .last-updated {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.content-wrapper h2 {
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

/* 16. FOOTER
------------------------------------------------*/
.footer {
    background-color: var(--medium-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
    display: block;
    margin-bottom: 1rem;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--light-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    color: var(--heading-color);
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--text-color);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal a {
    margin: 0 10px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

/* 17. UTILITY CLASSES & HELPERS
------------------------------------------------*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.chat-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.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: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--medium-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.popup.visible .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 18. RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------*/

/* Tablets and larger phones */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--medium-bg);
        width: 80%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        justify-content: center;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-3d-wrapper {
        order: 1;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container,
    .roi-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 2rem;
    }

    .process-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-line {
        display: none;
        /* Hide line on smaller screens */
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .process-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .contact-form-block {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-top: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about,
    .footer-links,
    .footer-contact {
        align-items: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .slider-controls {
        display: none;
        /* Use swipe on mobile, controls take too much space */
    }
}