/*
================================================
ORION REALM THEME - STYLES.CSS
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  CSS Variables & Root Styles
2.  Global Styles & Typography
3.  Utility Classes
4.  Preloader & Canvas Background
5.  Header & Navigation
6.  Hero Section
7.  Partners Section
8.  Services Section (Portals)
9.  About Section
10. Process Section (Timeline)
11. Testimonials Section
12. CTA Section
13. Footer
14. Legal Pages Content
15. Contact Page Specifics
16. Popups & Modals
17. Helper Components (Back to Top, Scroll Down)
18. Animation Keyframes & Scroll Effects
19. Responsive Design (Media Queries)
================================================
*/

/* 1. CSS Variables & Root Styles
------------------------------------------------ */
:root {
    --cosmic-blue: #1B4CFB;
    --nova-pink: #FF4DA6;
    --void-black: #0A0A0A;
    --deep-space: #101018;
    --light-gray: #E0E0E0;
    --medium-gray: #888;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

/* 2. Global Styles & Typography
------------------------------------------------ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--void-black);
    color: var(--light-gray);
    font-family: var(--font-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--light-gray);
    max-width: 65ch;
}

a {
    color: var(--cosmic-blue);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--nova-pink);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 100px 0;
}

.subtitle {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--nova-pink);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    margin-left: auto;
    margin-right: auto;
}

/* 3. Utility Classes
------------------------------------------------ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cosmic-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
    z-index: 1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--cosmic-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--nova-pink);
    color: #fff;
}

.btn-primary::before {
    background-color: var(--nova-pink);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: var(--cosmic-blue);
}

.btn-secondary:hover {
    color: #fff;
    border-color: var(--cosmic-blue);
}

.btn-secondary::before {
    background-color: var(--cosmic-blue);
}

.highlight {
    color: var(--cosmic-blue);
}

/* 4. Preloader & Canvas Background
------------------------------------------------ */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--void-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader .loader-logo img {
    width: 80px;
    animation: pulse 2s infinite ease-in-out;
}

.preloader-text {
    color: var(--light-gray);
    margin-top: 1.5rem;
    font-family: var(--font-secondary);
    letter-spacing: 1px;
}

.neural-loader {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.neural-loader .dot {
    width: 12px;
    height: 12px;
    background: var(--cosmic-blue);
    border-radius: 50%;
    animation: wave 1.4s infinite ease-in-out;
}

.neural-loader .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.neural-loader .dot:nth-child(3) {
    animation-delay: 0.4s;
}


/* 5. Header & Navigation
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
    transition: all var(--transition-fast);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
}

.nav-logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    color: var(--light-gray);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--nova-pink);
    transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all var(--transition-fast);
}

/* 6. Hero Section
------------------------------------------------ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* 7. Partners Section
------------------------------------------------ */
.partners {
    background-color: rgba(16, 16, 24, 0.5);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    color: var(--medium-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.partners-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.partner-logo img {
    max-height: 40px;
    width: auto;
    opacity: 0.6;
    filter: grayscale(100%) contrast(0) brightness(1.5);
    transition: var(--transition-fast);
}

.partner-logo img:hover {
    opacity: 1;
    filter: none;
}

/* 8. Services Section (Portals)
------------------------------------------------ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-portal {
    background: linear-gradient(145deg, var(--deep-space), var(--void-black));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-slow);
    transform-style: preserve-3d;
}

.service-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(27, 76, 251, 0.15),
            transparent 40%);
    transition: opacity 0.5s;
    opacity: 0;
}

.service-portal:hover {
    transform: translateY(-10px) rotateX(5deg) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--cosmic-blue);
}

.service-portal:hover::before {
    opacity: 1;
}

.portal-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.portal-icon {
    font-size: 3rem;
    color: var(--cosmic-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.portal-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--cosmic-blue);
    opacity: 0;
    transition: var(--transition-fast);
    animation: ring-pulse 3s infinite;
}

.service-portal:hover .portal-icon::after {
    opacity: 0.5;
}

.portal-title {
    color: #fff;
    margin-bottom: 1rem;
}

.portal-description {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.portal-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--nova-pink);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portal-link i {
    transition: transform var(--transition-fast);
}

.portal-link:hover i {
    transform: translateX(5px);
}

/* 9. About Section
------------------------------------------------ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 4rem;
}

.about-image-container {
    position: relative;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.about-image img {
    border-radius: 16px;
}

.about-image-ring {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--cosmic-blue);
    border-radius: 26px;
    z-index: 1;
    animation: rotate-ring 20s linear infinite;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.about-features i {
    color: var(--nova-pink);
    font-size: 1.2rem;
}

/* 10. Process Section (Timeline)
------------------------------------------------ */
.process {
    background-color: var(--deep-space);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    bottom: 0;
    width: 2px;
    background-image: linear-gradient(to bottom, var(--cosmic-blue), var(--nova-pink));
    transform: scaleY(0);
    transform-origin: top;
    animation: timeline-draw linear forwards;
    animation-timeline: view();
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.process-icon-wrapper {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--deep-space);
    border: 2px solid var(--cosmic-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--cosmic-blue);
    z-index: 2;
    transition: var(--transition-fast);
}

.process-step:hover .process-icon {
    background-color: var(--cosmic-blue);
    color: #fff;
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    top: -15px;
    right: -5px;
    background: var(--nova-pink);
    color: var(--void-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: var(--font-secondary);
    z-index: 3;
}

.process-content {
    padding-top: 1rem;
}

.process-content h3 {
    margin-bottom: 0.5rem;
}

/* 11. Testimonials Section
------------------------------------------------ */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack them vertically */
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 2.5rem;
    background: linear-gradient(145deg, var(--deep-space), var(--void-black));
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.testimonial-content {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 2.5rem;
    color: var(--cosmic-blue);
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: #fff;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--nova-pink);
}

.author-info h4 {
    color: #fff;
    margin: 0;
}

.author-info span {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

/* 12. CTA Section
------------------------------------------------ */
.cta {
    background-color: var(--deep-space);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(27, 76, 251, 0.2), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 77, 166, 0.15), transparent 40%);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1.5rem;
}

.cta-content p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
}

/* 13. Footer
------------------------------------------------ */
.footer {
    background-color: var(--deep-space);
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
    position: relative;
    z-index: 5;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;

}

.footer-about p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light-gray);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--cosmic-blue);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--nova-pink);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--light-gray);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--cosmic-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.footer-legal a {
    color: var(--medium-gray);
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: #fff;
}

/* 14. Legal Pages Content
------------------------------------------------ */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    background-color: var(--deep-space);
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(16, 16, 24, 0.7);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* 15. Contact Page Specifics
------------------------------------------------ */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--deep-space);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-info-block h3 {
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: rgba(27, 76, 251, 0.1);
    color: var(--cosmic-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.info-text h4 {
    margin-bottom: 0.25rem;
    color: #fff;
}

.info-text p,
.info-text a {
    color: var(--light-gray);
    margin: 0;
}

.contact-form h3 {
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background-color: var(--void-black);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-gray);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--cosmic-blue);
    box-shadow: 0 0 10px rgba(27, 76, 251, 0.5);
}

.contact-form button {
    margin-top: 1rem;
    width: 100%;
}

/* 16. Popups & Modals
------------------------------------------------ */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--deep-space);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transition: var(--transition-fast);
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--medium-gray);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--nova-pink);
    margin-bottom: 1rem;
}

.popup-content h3 {
    margin-bottom: 0.5rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* 17. Helper Components (Back to Top, Scroll Down)
------------------------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--cosmic-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-fast);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--nova-pink);
    transform: scale(1.1);
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

/* 18. Animation Keyframes & Scroll Effects
------------------------------------------------ */
.animate-up,
.animate-left,
.animate-right,
.animate-fade {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up {
    transform: translateY(50px);
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.visible.animate-up,
.visible.animate-left,
.visible.animate-right,
.visible.animate-fade {
    opacity: 1;
    transform: translate(0, 0);
}

/* Add staggered delays for sections */
.services-grid .animate-up:nth-child(2) {
    transition-delay: 0.1s;
}

.services-grid .animate-up:nth-child(3) {
    transition-delay: 0.2s;
}

.services-grid .animate-up:nth-child(4) {
    transition-delay: 0.3s;
}

.process-step.animate-up:nth-child(2) {
    transition-delay: 0.2s;
}

.process-step.animate-up:nth-child(3) {
    transition-delay: 0.4s;
}

.process-step.animate-up:nth-child(4) {
    transition-delay: 0.6s;
}


@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes wave {

    0%,
    60%,
    100% {
        transform: scale(0.8);
    }

    30% {
        transform: scale(1.2);
        background: var(--nova-pink);
    }
}

@keyframes ring-pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes timeline-draw {
    to {
        transform: scaleY(1);
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* 19. Responsive Design (Media Queries)
------------------------------------------------ */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--void-black);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: right var(--transition-slow);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header-actions .btn {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-content {
        order: 1;
    }

    .about-image-container {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-features {
        align-items: center;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section-padding {
        padding: 80px 0;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .process-timeline::after {
        left: 35px;
    }

    .process-icon-wrapper {
        width: 70px;
    }

    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .process-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        top: -10px;
        right: -10px;
    }

    .footer-main {
        text-align: center;
    }

    .footer-social,
    .footer-links h3::after,
    .footer-contact h3::after {
        margin: 0 auto 1.5rem auto;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
}