/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  HELPER CLASSES & KEYFRAMES
3.  HEADER & NAVIGATION
4.  MOBILE NAVIGATION
5.  FOOTER
6.  BUTTONS & FORMS
7.  HERO SECTION
8.  SERVICES SECTION
9.  ABOUT US SECTION
10. INTERACTIVE ROI CALCULATOR
11. TESTIMONIALS SECTION
12. CTA SECTION
13. SUBPAGE & LEGAL PAGE STYLES
14. CONTACT PAGE STYLES
15. LIVE CHAT WIDGET
16. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. GLOBAL STYLES & VARIABLES
------------------------------------------------ */
:root {
    --lime: #D0FF00;
    --peach: #FF9E80;
    --aqua: #00E5FF;
    --black: #1E1E1E;
    --dark-grey: #2a2a2a;
    --light-grey: #f0f2f5;
    --text-color: #c5c5c5;
    --white: #ffffff;

    --font-primary: 'Poppins', sans-serif;
    --header-height: 80px;

    --gradient-primary: linear-gradient(135deg, var(--peach), var(--aqua));
    --gradient-secondary: linear-gradient(135deg, var(--lime), var(--aqua));

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--black);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    color: var(--white);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
}

a {
    color: var(--lime);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.highlight-lime {
    color: var(--lime);
}

/* 2. HELPER CLASSES & KEYFRAMES
------------------------------------------------ */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: morph 15s ease-in-out infinite;
}

.blob1 {
    width: 400px;
    height: 400px;
    top: 10vh;
    left: 10vw;
    animation-duration: 20s;
}

.blob2 {
    width: 300px;
    height: 300px;
    bottom: 5vh;
    right: 5vw;
    background: var(--gradient-secondary);
    animation-duration: 25s;
    animation-delay: 2s;
}

.blob3 {
    width: 200px;
    height: 200px;
    top: 50vh;
    right: 25vw;
    background: var(--peach);
    opacity: 0.05;
    animation-duration: 18s;
}

/* 3. HEADER & NAVIGATION
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(30, 30, 30, 0.95);
    box-shadow: var(--shadow-md);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo, .footer-logo {
    height: 60px;
    width: auto;
    filter: invert(1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lime);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.bar-top {
    top: 0;
}

.bar-middle {
    top: 50%;
    transform: translateY(-50%);
}

.bar-bottom {
    bottom: 0;
}

.mobile-nav.is-open .bar-top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-nav.is-open .bar-middle {
    opacity: 0;
}

.mobile-nav.is-open .bar-bottom {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* 4. MOBILE NAVIGATION
------------------------------------------------ */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--dark-grey);
    z-index: 999;
    padding-top: calc(var(--header-height) + 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: right 0.4s ease-in-out;
}

.mobile-nav.is-open {
    right: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-nav nav ul {
    width: 100%;
    text-align: center;
}

.mobile-nav nav li {
    margin-bottom: 2rem;
}

.mobile-nav nav a {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 500;
}

/* 5. FOOTER
------------------------------------------------ */
.footer {
    background-color: #1a1a1a;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--lime);
    top: -50px;
    left: -100px;
}

.footer-shape.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--aqua);
    bottom: -150px;
    right: -150px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--lime);
}

.footer-about-text {
    margin: 1.5rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--dark-grey);
    border-radius: 50%;
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.social-link:hover {
    background: var(--lime);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul a {
    color: var(--text-color);
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links ul a:hover {
    color: var(--lime);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-info i {
    color: var(--lime);
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-info a {
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--lime);
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-color);
}

/* 6. BUTTONS & FORMS
------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--lime);
    color: var(--black);
}

.btn-primary::before {
    background: var(--white);
}

.btn-primary:hover {
    color: var(--black);
}

.btn-secondary {
    background: var(--dark-grey);
    color: var(--white);
    border: 2px solid var(--dark-grey);
}

.btn-secondary::before {
    background: var(--lime);
}

.btn-secondary:hover {
    color: var(--black);
    border-color: var(--lime);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--dark-grey);
    border: 1px solid #444;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(208, 255, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

/* 7. HERO SECTION
------------------------------------------------ */
.hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(208, 255, 0, 0.1);
    color: var(--lime);
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-chart-container {
    width: 300px;
    height: 300px;
    position: relative;
    animation: pulse 5s infinite;
}

.chart-bar {
    position: absolute;
    background: var(--dark-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    transition: transform 0.3s ease;
}

.chart-bar:hover {
    transform: scale(1.05);
}

.chart-bar.bar1 {
    width: 60px;
    height: 120px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--peach);
}

.chart-bar.bar2 {
    width: 60px;
    height: 180px;
    bottom: 0;
    left: 0;
    background: var(--aqua);
}

.chart-bar.bar3 {
    width: 60px;
    height: 150px;
    bottom: 0;
    right: 0;
    background: var(--lime);
}

.chart-bar span {
    color: var(--black);
}

.chart-center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--dark-grey);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid var(--black);
    color: var(--lime);
}

.chart-center-circle i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.chart-center-circle span {
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-card {
    position: absolute;
    padding: 1rem;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-5px);
}

.hero-card i {
    font-size: 1.5rem;
    color: var(--lime);
}

.hero-card p {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
    line-height: 1.3;
}

.hero-card span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-color);
}

.hero-card.card1 {
    top: 20%;
    left: 0;
}

.hero-card.card2 {
    bottom: 25%;
    right: -20px;
}


/* 8. SERVICES SECTION
------------------------------------------------ */
.services-section {
    background: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(208, 255, 0, 0.1);
    color: var(--lime);
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark-grey);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid #444;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(208, 255, 0, 0.15) 0%, rgba(208, 255, 0, 0) 70%);
    transition: transform 0.5s ease;
    transform: scale(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--black);
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid var(--lime);
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--lime);
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--lime);
}

.service-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* 9. ABOUT US SECTION
------------------------------------------------ */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-visual {
    flex: 1;
    position: relative;
}

.about-blob-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.15;
    animation: morph 20s infinite alternate;
}

.about-image {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-content {
    flex: 1;
}

.about-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.about-content .section-subtitle {
    margin: 0 0 2rem 0;
    max-width: 100%;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-features i {
    font-size: 1.5rem;
    color: var(--lime);
    margin-top: 5px;
    background: var(--dark-grey);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.about-features h4 {
    margin-bottom: 0.25rem;
}


/* 10. INTERACTIVE ROI CALCULATOR
------------------------------------------------ */
.interactive-section {
    background-color: var(--dark-grey);
}

.roi-calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: var(--black);
    padding: 3rem;
    border-radius: 16px;
}

.roi-form h3 {
    margin-bottom: 2rem;
    color: var(--lime);
}

.roi-form .form-group span {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--lime);
    margin-top: 0.5rem;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #444;
    border-radius: 5px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--lime);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--black);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--lime);
    cursor: pointer;
    border-radius: 50%;
    border: 4px solid var(--black);
}

.roi-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #444;
    padding-left: 3rem;
}

.result-chart {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.progress-ring__circle,
.progress-ring__circle-bg {
    transition: stroke-dashoffset 0.35s;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

.progress-ring__circle-bg {
    stroke: #444;
}

.progress-ring__circle {
    stroke: var(--lime);
    stroke-linecap: round;
}

.chart-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
}

.roi-percentage {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.roi-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

.result-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.result-details strong {
    color: var(--lime);
}

/* 11. TESTIMONIALS SECTION
------------------------------------------------ */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 2.5rem;
    background: var(--dark-grey);
    border-radius: 16px;
    opacity: 0;
    transform: translateX(30px) scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 1;
}

.testimonial-quote-icon {
    font-size: 4rem;
    color: var(--lime);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    opacity: 0.1;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--lime);
}

.author-name {
    margin: 0;
    color: var(--white);
}

.author-company {
    color: var(--text-color);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    bottom: -10px;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: 5;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #444;
    background: var(--dark-grey);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.slider-btn:hover {
    background: var(--lime);
    color: var(--black);
}

/* 12. CTA SECTION
------------------------------------------------ */
.cta-section {
    background: var(--dark-grey);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-blob-1,
.cta-blob-2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(50px);
}

.cta-blob-1 {
    width: 300px;
    height: 300px;
    background: var(--peach);
    top: -100px;
    left: 10%;
}

.cta-blob-2 {
    width: 400px;
    height: 400px;
    background: var(--aqua);
    bottom: -150px;
    right: 5%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-subtitle {
    margin-bottom: 2rem;
}

.cta-button {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: rotate(45deg);
}

/* 13. SUBPAGE & LEGAL PAGE STYLES
------------------------------------------------ */
body.subpage {
    padding-top: var(--header-height);
}

.page-header {
    background: #1a1a1a;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs a:hover {
    color: var(--lime);
}

.breadcrumbs span {
    color: var(--white);
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 0.5rem;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 16px;
}

.content-wrapper h2 {
    color: var(--lime);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #444;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
}

/* 14. CONTACT PAGE STYLES
------------------------------------------------ */
.contact-page-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 16px;
}

.contact-info-block h3 {
    margin-bottom: 1rem;
    color: var(--lime);
}

.contact-info-block p {
    margin-bottom: 2rem;
}

.contact-methods {
    list-style: none;
}

.contact-methods li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-methods i {
    font-size: 1.5rem;
    color: var(--lime);
    margin-top: 5px;
}

.contact-methods h4 {
    margin-bottom: 0.25rem;
}

.contact-methods a {
    color: var(--text-color);
}

.contact-methods a:hover {
    color: var(--lime);
}

.btn.full-width {
    width: 100%;
}

.btn.full-width i {
    transition: transform 0.3s ease;
}

.btn.full-width:hover i {
    transform: translateX(5px);
}

/* Popup Styles */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.popup:target {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--lime);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 1rem;
}

.popup-close {
    margin-top: 1.5rem;
}

/* 15. LIVE CHAT WIDGET
------------------------------------------------ */
.live-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
}

.chat-bubble {
    width: 60px;
    height: 60px;
    background: var(--lime);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--black);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-window {
    position: absolute;
    bottom: calc(100% + 1rem);
    right: 0;
    width: 350px;
    background: var(--dark-grey);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--black);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-logo {
    width: 40px;
    height: 40px;
}

.chat-header h4 {
    font-size: 1rem;
    margin: 0;
}

.chat-header p {
    font-size: 0.8rem;
    color: var(--text-color);
    line-height: 1.2;
}

.close-chat-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    flex-grow: 1;
    min-height: 200px;
}

.message {
    margin-bottom: 1rem;
}

.message p {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    max-width: 80%;
}

.message.received p {
    background: var(--black);
    border-bottom-left-radius: 4px;
}

.chat-footer {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #444;
}

.chat-footer input {
    flex-grow: 1;
    background: var(--black);
    border: 1px solid #555;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    color: var(--white);
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--lime);
    font-size: 1.2rem;
    margin-left: 0.5rem;
    cursor: pointer;
}


/* 16. RESPONSIVE DESIGN (MEDIA QUERIES)
------------------------------------------------ */

/* Tablets and larger devices */
@media (max-width: 992px) {
    .nav-list {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header .btn {
        display: none;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 4rem;
    }

    .about-section .container {
        flex-direction: column;
    }

    .about-content {
        order: -1;
    }

    .about-content .section-header {
        text-align: center;
    }

    .roi-calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .roi-results {
        border-left: none;
        border-top: 1px solid #444;
        padding-left: 0;
        padding-top: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links,
    .contact-info {
        justify-content: center;
    }

    .contact-info li {
        text-align: left;
    }

    .live-chat-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chat-window {
        width: calc(100vw - 2rem);
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-chart-container {
        transform: scale(0.8);
    }

    .hero-card {
        position: relative;
        width: 80%;
        margin: 1rem auto;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        justify-content: center;
    }

    .hero-visual {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper,
    .contact-wrapper {
        padding: 1.5rem;
    }
}