/*
================================================
*   RESET & BASE STYLES
================================================
*/
:root {
    --primary-color: #00A3FF;
    /* A vibrant blue accent */
    --primary-color-dark: #007fcc;
    --secondary-color: #0B132B;
    /* Deep navy for primary background */
    --bg-color: #030812;
    /* Even darker for body background */
    --surface-color: #1C2541;
    /* For cards and surfaces */
    --text-color: #E0E0E0;
    --heading-color: #FFFFFF;
    --border-color: #3A506B;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    color: var(--heading-color);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/*
================================================
*   REUSABLE COMPONENTS & UTILITIES
================================================
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary-color);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color);
    opacity: 0.9;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    border: 2px solid transparent;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scaleX(0);
    transform-origin: right;
    z-index: 1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
    color: #fff;
}

.btn-primary::before {
    background-color: #fff;
}

.btn-primary:hover span {
    color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--heading-color);
}

.btn-secondary:hover span {
    color: var(--heading-color);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/*
================================================
*   CUSTOM CURSOR
================================================
*/
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 163, 255, 0.2);
    border: 2px solid var(--primary-color);
}

.cursor-interact {
    transform: translate(-50%, -50%) scale(1.5);
    border: 2px solid var(--primary-color-dark);
}

/* Hide on mobile */
@media (max-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}


/*
================================================
*   HEADER & NAVIGATION
================================================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(3, 8, 18, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    border-bottom-color: var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav__logo img {
    height: 80px;
    transition: height 0.3s ease;
}


.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    overflow: hidden;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav__toggle {
    display: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
}

.nav__toggle-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--heading-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.nav__toggle-icon span:nth-child(1) {
    top: 0;
}

.nav__toggle-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav__toggle-icon span:nth-child(3) {
    bottom: 0;
}

.nav-open .nav__toggle-icon span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-open .nav__toggle-icon span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav__toggle-icon span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/*
================================================
*   FOOTER
================================================
*/
.footer {
    background-color: var(--secondary-color);
    padding-top: 5rem;
    border-top: 1px solid var(--border-color);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer__about .footer__logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer__description {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer__links h3,
.footer__contact h3 {
    font-family: var(--font-secondary);
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer__links ul li {
    margin-bottom: 0.8rem;
}

.footer__links ul a {
    color: var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer__links ul a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer__contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__contact ul i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer__contact ul a,
.footer__contact ul span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.footer__bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/*
================================================
*   HERO SECTION
================================================
*/
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 20% 30%, rgba(0, 163, 255, 0.1), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(28, 37, 65, 0.3), transparent 40%);
}

.hero__content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
}

.hero__title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation: move-blob 15s infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 5%;
    background: var(--surface-color);
    animation: move-blob 20s infinite alternate-reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 20%;
    animation: move-blob 18s infinite alternate;
}

@keyframes move-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, -50px) scale(1.2);
    }
}

/*
================================================
*   SERVICES SECTION
================================================
*/
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 163, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: rotate(0deg);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate-glow 5s linear infinite;
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-card__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    background: rgba(0, 163, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card__title {
    margin-bottom: 1rem;
}

.service-card__description {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.service-card__link {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--heading-color);
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card__link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card__link {
    color: var(--primary-color);
}

.service-card:hover .service-card__link i {
    transform: translateX(5px);
}

/*
================================================
*   PROCESS SECTION
================================================
*/
.process {
    background-color: var(--secondary-color);
}

.process__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.process__item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    width: 50%;
}

.process__item:nth-child(even) {
    margin-left: 50%;
    flex-direction: row-reverse;
}

.process__item:last-child {
    margin-bottom: 0;
}

.process__icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 4px solid var(--secondary-color);
}

.process__item:nth-child(odd) .process__icon {
    right: -30px;
    transform: translate(50%, -50%);
}

.process__item:nth-child(even) .process__icon {
    left: -30px;
    transform: translate(-50%, -50%);
}

.process__content {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    width: calc(100% - 60px);
    position: relative;
}

.process__item:nth-child(odd) {
    padding-right: 30px;
}

.process__item:nth-child(even) {
    padding-left: 30px;
    text-align: right;
}

.process__step {
    position: absolute;
    top: 1rem;
    font-size: 3rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--border-color);
    opacity: 0.5;
    z-index: -1;
}

.process__item:nth-child(odd) .process__step {
    right: 1.5rem;
}

.process__item:nth-child(even) .process__step {
    left: 1.5rem;
}

.process__title {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.process__description {
    font-size: 0.95rem;
    opacity: 0.8;
}

/*
================================================
*   INDUSTRIES SECTION
================================================
*/
.industries__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industries__content .section-header {
    margin-bottom: 2rem;
}

.industries__content .section-title,
.industries__content .section-subtitle {
    margin-left: 0;
}

.industries__list {
    margin: 2rem 0;
}

.industries__list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.industries__list i {
    color: var(--primary-color);
}

.industries__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.visual__sphere {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--surface-color) 40%, transparent 70%);
    position: relative;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(0, 163, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 163, 255, 0);
    }
}

.visual__icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: orbit 15s linear infinite;
}

.visual__icon.icon-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.visual__icon.icon-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: -3.75s;
}

.visual__icon.icon-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -7.5s;
}

.visual__icon.icon-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: -11.25s;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

/*
================================================
*   TESTIMONIALS SECTION
================================================
*/
.testimonials {
    background-color: var(--secondary-color);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--surface-color);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
}

.testimonial-card__quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-card__text {
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author__name {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author__title {
    font-size: 0.9rem;
    opacity: 0.8;
}

/*
================================================
*   ROI CALCULATOR SECTION
================================================
*/
.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--surface-color);
    border-radius: 10px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calculator-form .form-group {
    margin-bottom: 1.5rem;
}

.calculator-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-secondary);
    font-weight: 500;
}

.calculator-form .form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--heading-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calculator-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.2);
}

.calculator-results {
    text-align: center;
}

.result-box {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.result-box h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    opacity: 0.8;
}

.result-box p {
    font-size: 2.5rem;
    font-family: var(--font-secondary);
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-results .disclaimer {
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 1rem;
}

/*
================================================
*   CTA SECTION
================================================
*/
.cta {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 5rem 2rem;
    margin: 0 1.5rem;
    transform: translateY(-15%);
    position: relative;
    z-index: 5;
}

.cta__title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Adjust footer padding because of overlapping CTA */
.footer {
    padding-top: 12rem;
}

/*
================================================
*   PAGE HEADER (FOR INTERNAL PAGES)
================================================
*/
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--header-height);
    background: radial-gradient(circle at 50% -20%, rgba(0, 163, 255, 0.1), transparent 40%);
}

.page-header__title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/*
================================================
*   LEGAL & CONTACT PAGES
================================================
*/
.legal-page .container,
.contact-page .container {
    max-width: 900px;
}

.legal-content h2 {
    margin: 2.5rem 0 1rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.contact-page__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-info__title {
    margin-bottom: 1rem;
}

.contact-info__desc {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.contact-detail-item .icon-wrapper {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(0, 163, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.contact-detail-item .info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.contact-detail-item .info p,
.contact-detail-item .info a {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--heading-color);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.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, 163, 255, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Success Popup */
.popup-overlay {
    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-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 450px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

/*
================================================
*   SCROLL ANIMATIONS
================================================
*/
[data-animation="fade-in-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-in-left"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animation="fade-in-right"] {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible[data-animation] {
    opacity: 1;
    transform: translate(0, 0);
}

/*
================================================
*   RESPONSIVE DESIGN
================================================
*/

/* Tablets and small desktops */
@media (max-width: 1024px) {

    h1,
    .hero__title,
    .page-header__title {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .industries__wrapper {
        grid-template-columns: 1fr;
    }

    .industries__visual {
        height: 350px;
        margin-top: 3rem;
    }

    .visual__sphere {
        width: 300px;
        height: 300px;
    }

    @keyframes orbit {
        from {
            transform: rotate(0deg) translateX(160px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(160px) rotate(-360deg);
        }
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .cta {
        margin: 0 1rem;
    }

    .footer {
        padding-top: 10rem;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.5rem;
    }

    .nav__toggle {
        display: block;
    }

    .nav__actions .btn-primary {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__cta {
        flex-direction: column;
        gap: 1rem;
    }

    .process__line {
        left: 30px;
    }

    .process__item,
    .process__item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left !important;
        flex-direction: row;
    }

    .process__icon,
    .process__item:nth-child(even) .process__icon {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .process__content {
        width: 100%;
    }

    .process__item:nth-child(even) .process__step {
        left: auto;
        right: 1.5rem;
    }

    .contact-page__wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .cta {
        transform: translateY(0);
        border-radius: 0;
        margin: 0;
    }

    .footer {
        padding-top: 5rem;
    }
}

@media (max-width: 480px) {

    h1,
    .hero__title,
    .page-header__title {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1rem;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .result-box p {
        font-size: 2rem;
    }
}