/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  HELPER & UTILITY CLASSES
3.  HEADER & NAVIGATION
4.  MOBILE NAVIGATION
5.  FOOTER
6.  BUTTONS & FORMS
7.  HERO SECTION
8.  SERVICES SECTION
9.  ABOUT SECTION
10. STATS SECTION
11. TESTIMONIALS SECTION
12. PRICING SECTION
13. CTA SECTION
14. SUBPAGES (LEGAL, CONTACT)
15. POPUP STYLES
16. ANIMATIONS & KEYFRAMES
17. RESPONSIVE MEDIA QUERIES
================================================
*/

/* 1. GLOBAL STYLES & VARIABLES
/* ============================================== */
:root {
    --primary-color: #4A90E2;
    /* A vibrant blue */
    --secondary-color: #50E3C2;
    /* A fresh teal/mint */
    --dark-blue: #0D1B2A;
    /* Deep navy for text and backgrounds */
    --medium-blue: #1B263B;
    --light-blue: #415A77;
    --off-white: #F0F4F8;
    --light-gray: #E0E1DD;
    --white: #FFFFFF;
    --text-color: #E0E1DD;
    /* Light text for dark backgrounds */
    --heading-color: #FFFFFF;

    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-blue);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. HELPER & UTILITY CLASSES
/* ============================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-gray);
}

/* 3. HEADER & NAVIGATION
/* ============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    transition: background-color var(--transition-speed), padding var(--transition-speed), box-shadow var(--transition-speed);
}

.header.sticky {
    background-color: rgba(13, 27, 42, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-speed);
}

.logo-link:hover .logo {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--off-white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-speed);
}

.mobile-toggle.active .bar-top {
    transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: translateY(-8px) rotate(-45deg);
}

/* 4. MOBILE NAVIGATION
/* ============================================== */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(13, 27, 42, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: left var(--transition-speed);
    z-index: 999;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 2rem 0;
}

.mobile-nav nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
}

/* 5. FOOTER
/* ============================================== */
.footer {
    padding-top: 8rem;
    padding-bottom: 2rem;
    background-color: var(--medium-blue);
    position: relative;
    overflow: hidden;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    opacity: 0.05;
}

.footer-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    filter: blur(50px);
}

.footer-shape.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 5%;
    right: 5%;
    filter: blur(60px);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 1rem;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-col-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--light-gray);
    transition: color var(--transition-speed), padding-left var(--transition-speed);
}

.footer-links ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-info a {
    color: var(--light-gray);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--light-blue);
    padding-top: 2rem;
}

/* 6. BUTTONS & FORMS
/* ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(80, 227, 194, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--light-gray);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form .full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--light-blue);
    background-color: var(--medium-blue);
    color: var(--white);
    font-family: var(--font-family);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* 7. HERO SECTION
/* ============================================== */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 6rem) 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-bg-shapes .shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(74, 144, 226, 0.2);
    top: -50px;
    left: -100px;
    animation: move-blob-1 20s infinite alternate;
}

.hero-bg-shapes .shape-2 {
    width: 350px;
    height: 350px;
    background: rgba(80, 227, 194, 0.15);
    bottom: -50px;
    right: -100px;
    animation: move-blob-2 25s infinite alternate;
}

.hero-bg-shapes .shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(74, 144, 226, 0.1);
    bottom: 40%;
    left: 30%;
    animation: move-blob-3 15s infinite alternate;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--secondary-color);
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-cube {
    width: 250px;
    height: 250px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.hero-3d-cube .face {
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(27, 38, 59, 0.8);
    border: 2px solid var(--light-blue);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.hero-3d-cube .face i {
    font-size: 3rem;
    color: var(--primary-color);
}

.hero-3d-cube .face span {
    font-weight: 600;
}

.face.front {
    transform: rotateY(0deg) translateZ(125px);
}

.face.back {
    transform: rotateY(180deg) translateZ(125px);
}

.face.right {
    transform: rotateY(90deg) translateZ(125px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(125px);
}

.face.top {
    transform: rotateX(90deg) translateZ(125px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(125px);
}

/* 8. SERVICES SECTION
/* ============================================== */
.services-section {
    padding: 6rem 0;
    background-color: var(--medium-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--dark-blue);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-blue);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
}

.service-link i {
    transition: transform var(--transition-speed);
    display: inline-block;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 9. ABOUT SECTION
/* ============================================== */
.about-section {
    padding: 6rem 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-features {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* 10. STATS SECTION
/* ============================================== */
.stats-section {
    padding: 4rem 0;
    background-color: var(--medium-blue);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-blue);
    border-radius: var(--border-radius);
    border: 1px solid var(--light-blue);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    color: var(--light-gray);
}

/* 11. TESTIMONIALS SECTION
/* ============================================== */
.testimonials-section {
    padding: 6rem 0;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    height: 350px;
    /* Adjust height as needed */
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--medium-blue);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-blue);
    text-align: center;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-ratings {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.author-name {
    margin-bottom: 0;
}

.author-title {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
    z-index: 10;
}

.slider-nav:hover {
    background-color: var(--primary-color);
}

.slider-nav.prev {
    left: -25px;
}

.slider-nav.next {
    right: -25px;
}

/* 12. PRICING SECTION
/* ============================================== */
.pricing-section {
    padding: 6rem 0;
    background-color: var(--medium-blue);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: var(--dark-blue);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-blue);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-width: 2px;
    border-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-color);
    color: var(--dark-blue);
    padding: 0.3rem 3rem;
    font-weight: 700;
    transform: rotate(45deg);
    font-size: 0.9rem;
}

.pricing-header {
    margin-bottom: 2rem;
}

.plan-name {
    font-size: 1.5rem;
}

.plan-description {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.plan-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 700;
}

.price-period {
    color: var(--light-gray);
}

.plan-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.plan-features .fa-times {
    color: var(--light-blue);
}

.pricing-card:not(.popular) .btn-secondary {
    border-color: var(--light-blue);
}

.pricing-card:not(.popular):hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* 13. CTA SECTION
/* ============================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cta-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
}

.cta-description {
    color: var(--medium-blue);
    max-width: 500px;
    margin-bottom: 0;
}

.cta-action .btn-primary {
    background-color: var(--white);
    color: var(--dark-blue);
    border-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-action .btn-primary:hover {
    background-color: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

/* 14. SUBPAGES (LEGAL, CONTACT)
/* ============================================== */
body.subpage main {
    padding-top: var(--header-height);
}

.page-header {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--medium-blue);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.breadcrumbs a {
    color: var(--light-gray);
}

.breadcrumbs i {
    font-size: 0.8rem;
}

.page-content,
.contact-section {
    padding: 6rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 2rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--medium-blue);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.contact-info-panel h2 {
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.method-details p {
    margin-bottom: 0;
}

.contact-form-wrapper {
    background-color: var(--dark-blue);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

/* 15. POPUP STYLES
/* ============================================== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.popup:target {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--medium-blue);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform var(--transition-speed);
}

.popup:target .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
}

.popup-content i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

/* 16. ANIMATIONS & KEYFRAMES
/* ============================================== */
@keyframes rotate-cube {
    0% {
        transform: rotateY(0) rotateX(0);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes move-blob-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -80px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes move-blob-2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0);
    }

    50% {
        transform: translate(-60px, 40px) scale(0.8) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes move-blob-3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 50px) scale(1.1);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Scroll Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn-up 0.8s ease-out forwards;
}

.animate-on-load:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-on-load:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-on-load:nth-child(3) {
    animation-delay: 0.6s;
}

.animate-on-load:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes fadeIn-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for grid items */
.services-grid .animate-on-scroll:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .animate-on-scroll:nth-child(4) {
    transition-delay: 0.1s;
}

.services-grid .animate-on-scroll:nth-child(5) {
    transition-delay: 0.2s;
}

.services-grid .animate-on-scroll:nth-child(6) {
    transition-delay: 0.3s;
}

/* 17. RESPONSIVE MEDIA QUERIES
/* ============================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2,
    .section-title {
        font-size: 2.25rem;
    }

    .header .nav {
        display: none;
    }

    .header .mobile-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-3d-cube {
        width: 200px;
        height: 200px;
    }

    .hero-3d-cube .face {
        width: 200px;
        height: 200px;
    }

    .face.front,
    .face.back {
        transform: rotateY(0deg) translateZ(100px);
    }

    .face.back {
        transform: rotateY(180deg) translateZ(100px);
    }

    .face.right {
        transform: rotateY(90deg) translateZ(100px);
    }

    .face.left {
        transform: rotateY(-90deg) translateZ(100px);
    }

    .face.top {
        transform: rotateX(90deg) translateZ(100px);
    }

    .face.bottom {
        transform: rotateX(-90deg) translateZ(100px);
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1,
    .hero-title {
        font-size: 2.5rem;
    }

    h2,
    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 4rem 0 !important;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-slider-wrapper {
        padding: 0 1rem;
    }

    .slider-nav.prev {
        left: -10px;
    }

    .slider-nav.next {
        right: -10px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-wrapper,
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .header .header-cta {
        display: none;
    }

    .logo-text {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}