/*
* Root Variables and Base Styles
*/
:root {
    --primary-color: #00c49a;
    --secondary-color: #ff8042;
    --accent-color: #ffbb28;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f7;
    --text-color: #a9a9b3;
    --headings-color: #ffffff;
    --white: #ffffff;
    --black: #000000;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;

    --header-height: 80px;
    --border-radius: 8px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --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(--dark-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--headings-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;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(0, 196, 154, 0.1);
    color: var(--primary-color);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/*
* Preloader
*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-shape {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-shape:nth-child(1) {
    animation-delay: -0.32s;
    background-color: var(--primary-color);
}

.loader-shape:nth-child(2) {
    animation-delay: -0.16s;
    background-color: var(--secondary-color);
}

.loader-shape:nth-child(3) {
    background-color: var(--accent-color);
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1.0);
    }
}

/*
* Header
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 15px 0;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(26, 26, 46, 0.9);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    transition: var(--transition-smooth);
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--white);
    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%;
}

.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/*
* Buttons
*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-primary);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn i {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 128, 66, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

/*
* Hero Section
*/
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    right: -5px;
    height: 15px;
    background-color: var(--secondary-color);
    z-index: -1;
    transform: skew(-15deg);
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

/* Memphis Background */
.memphis-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 10%;
    right: 5%;
    opacity: 0.5;
}

.shape-2 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--secondary-color);
    top: 60%;
    left: 10%;
    transform: rotate(-30deg);
}

.shape-3 {
    width: 80px;
    height: 80px;
    border: 10px solid var(--primary-color);
    bottom: 15%;
    right: 20%;
    animation: spin 20s linear infinite;
}

.shape-4 {
    width: 150px;
    height: 10px;
    background: var(--white);
    top: 25%;
    left: 15%;
    transform: rotate(45deg);
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: repeating-linear-gradient(45deg, var(--dark-color), var(--dark-color) 10px, var(--primary-color) 10px, var(--primary-color) 20px);
    bottom: 20%;
    left: 40%;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-6 {
    width: 50px;
    height: 200px;
    background: var(--secondary-color);
    bottom: -50px;
    left: 5%;
}

.shape-7 {
    width: 60px;
    height: 60px;
    border: 5px dotted var(--accent-color);
    border-radius: 50%;
    top: 70%;
    right: 15%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Hero 3D Object */
.hero-3d-object {
    position: absolute;
    top: 50%;
    right: 15%;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: rotate-cube 25s infinite linear;
    transform: translateY(-50%) rotateX(0) rotateY(0);
}

.object-face {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid var(--primary-color);
    background-color: rgba(0, 196, 154, 0.1);
    backdrop-filter: blur(5px);
}

.front {
    transform: translateZ(75px);
}

.back {
    transform: rotateY(180deg) translateZ(75px);
}

.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.right {
    transform: rotateY(90deg) translateZ(75px);
}

.top {
    transform: rotateX(90deg) translateZ(75px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

@keyframes rotate-cube {
    from {
        transform: translateY(-50%) rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: translateY(-50%) rotateX(360deg) rotateY(360deg);
    }
}

/*
* Services Section
*/
.services-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--dark-color);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--primary-color), transparent 30%);
    animation: rotate-border 4s linear infinite;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    z-index: -1;
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 196, 154, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent-color);
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/*
* Process Section
*/
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 4px solid var(--dark-color);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-step {
    position: absolute;
    top: -25px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-step {
    left: 20px;
}

.timeline-item:nth-child(even) .timeline-step {
    right: 20px;
}

/*
* Testimonials Section
*/
.testimonials-section {
    background-color: rgba(0, 0, 0, 0.2);
}

.testimonial-slider-wrapper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-testimonials 40s linear infinite;
}

.testimonial-slider-wrapper:hover .testimonial-slider {
    animation-play-state: paused;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--dark-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: scale(1.05);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-text i {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
    margin-bottom: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
    color: var(--white);
    font-size: 1.1rem;
}

.author-info span {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
}

/*
* Industries Section
*/
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.industry-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    background-color: var(--dark-color);
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background-color: rgba(255, 187, 40, 0.1);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.industry-item h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

/*
* ROI Calculator Section
*/
.calculator-section {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="%231f1f38" fill-opacity="0.4"><rect x="50" width="50" height="50" /><rect y="50" width="50" height="50" /></g></svg>'), var(--dark-color);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--dark-color);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.calculator-info h2 {
    color: var(--primary-color);
}

.calculator-form .form-group {
    margin-bottom: 20px;
}

.calculator-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.calculator-form select,
.calculator-form input[type="range"] {
    width: 100%;
    padding: 12px;
    background-color: #1f1f38;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--white);
    outline: none;
}

.budget-display {
    text-align: right;
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 10px;
}

.calculator-result {
    margin-top: 20px;
    padding: 20px;
    border: 1px dashed var(--border-color);
    border-radius: var(--border-radius);
    min-height: 100px;
}

/*
* CTA Section
*/
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section h2,
.cta-section p {
    color: var(--dark-color);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-section .btn-primary {
    background-color: var(--dark-color);
    color: var(--white);
    border-color: var(--dark-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--white);
    color: var(--dark-color);
    border-color: var(--white);
}

.shape-8 {
    width: 200px;
    height: 200px;
    border: 20px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: -50px;
    left: -50px;
}

.shape-9 {
    width: 150px;
    height: 150px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    background: rgba(255, 255, 255, 0.2);
    bottom: -75px;
    right: -75px;
}

/*
* Footer
*/
.footer {
    background-color: #121221;
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-description {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark-color);
    border-radius: 50%;
    color: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul a {
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.footer-links ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/*
* Back to Top Button
*/
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/*
* Live Chat Widget
*/
.live-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1001;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--card-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-toggle .fa-times {
    display: none;
}

.live-chat-widget.open .fa-comment-dots {
    display: none;
}

.live-chat-widget.open .fa-times {
    display: block;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 320px;
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.live-chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 20px;
    background: var(--secondary-color);
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
}

.chat-header h3,
.chat-header p {
    margin: 0;
    color: var(--dark-color);
}

.chat-header h3 {
    font-size: 1.2rem;
}

.chat-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.chat-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
}

.message.received p {
    background-color: #2a2a4a;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    max-width: 80%;
    font-size: 0.9rem;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid var(--border-color);
}

.chat-footer input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0 10px;
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
}

/*
* Animation on Scroll
*/
.animate-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in[data-animation="fade-up"] {
    transform: translateY(50px);
}

.animate-in[data-animation="slide-in-left"] {
    transform: translateX(-50px);
}

.animate-in[data-animation="slide-in-right"] {
    transform: translateX(50px);
}

.animate-in[data-animation="scale-up"] {
    transform: scale(0.8);
}

.animate-in.is-visible {
    opacity: 1;
    transform: none;
}

/* 
* Contact Page & Legal Pages
*/
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-family: var(--font-secondary);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.breadcrumbs span {
    color: var(--text-color);
}

/* Contact Page Specific */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: #121221;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.contact-info-panel {
    padding: 40px;
    background-color: var(--dark-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.contact-info-header {
    margin-bottom: 30px;
}

.contact-methods {
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
}

.method-details h3 {
    font-size: 1.2rem;
    margin: 0 0 5px;
}

.method-details p {
    margin: 0;
}

.contact-form-wrapper {
    padding: 40px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: #1f1f38;
    border: 1px solid var(--border-color);
    color: var(--white);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 196, 154, 0.2);
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-check label {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-top: 15px;
    margin-bottom: 0;
}

/* Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Legal Pages */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #121221;
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.content-wrapper h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-wrapper h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--accent-color);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 10px;
}

/*
* Responsive Design
*/
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-color);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease-in-out;
    }

    .nav.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .header.open .bar-top {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .header.open .bar-middle {
        opacity: 0;
    }

    .header.open .bar-bottom {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .header-btn {
        display: none;
    }

    .hero-3d-object {
        right: 5%;
        width: 100px;
        height: 100px;
    }

    .object-face {
        width: 100px;
        height: 100px;
    }

    .front {
        transform: translateZ(50px);
    }

    .back {
        transform: rotateY(180deg) translateZ(50px);
    }

    .left {
        transform: rotateY(-90deg) translateZ(50px);
    }

    .right {
        transform: rotateY(90deg) translateZ(50px);
    }

    .top {
        transform: rotateX(90deg) translateZ(50px);
    }

    .bottom {
        transform: rotateX(-90deg) translateZ(50px);
    }

    .process-timeline::after {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }

    .timeline-item:nth-child(even) .timeline-step {
        left: 20px;
        right: auto;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-3d-object {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 320px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 10px 20px;
    }

    .hero-cta {
        gap: 10px;
    }

    .live-chat-widget {
        display: none;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .calculator-wrapper,
    .contact-form-wrapper,
    .contact-info-panel,
    .content-wrapper {
        padding: 25px;
    }

    .testimonial-card {
        width: 280px;
    }
}