/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap');

/*=============== VARIABLES ===============*/
:root {
    /* Colors */
    --primary-color: #00F2FF;
    /* Cyan */
    --secondary-color: #FF00C1;
    /* Pink */
    --accent-color: #9D00FF;
    /* Violet */
    --bg-color: #0A021A;
    /* Deep Space Blue */
    --surface-color: #1A0A35;
    /* Dark Purple Surface */
    --surface-light: #2a1a45;
    --text-color: #E0E0E0;
    --text-color-light: #A0A0B5;
    --heading-color: #FFFFFF;
    --border-color: rgba(0, 242, 255, 0.2);
    --border-hover: var(--primary-color);
    --shadow-color-primary: rgba(0, 242, 255, 0.5);
    --shadow-color-secondary: rgba(255, 0, 193, 0.5);

    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Rajdhani', sans-serif;
    --h1-size: 4.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Spacing */
    --header-height: 5rem;
    --section-padding: 6rem 0;

    /* Z-index */
    --z-header: 100;
    --z-menu: 110;
    --z-tooltip: 10;
    --z-fixed: 1000;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@media screen and (max-width: 992px) {
    :root {
        --h1-size: 3rem;
        --h2-size: 2rem;
        --h3-size: 1.25rem;
        --section-padding: 4rem 0;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 1.75rem;
    }
}


/*=============== BASE ===============*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%231A0A35' fill-opacity='0.4'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

a:hover {
    filter: brightness(1.2);
}

img {
    max-width: 100%;
    height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--heading-font);
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
    animation: glow-secondary 2s ease-in-out infinite alternate;
}

.section-title {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
}

.section-title .highlight {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--shadow-color-primary);
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 4px;
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 300% 300%;
    z-index: -1;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    animation: gradient-animation 4s ease infinite;
}

.btn-primary {
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
}

.btn-secondary {
    color: #fff;
    background-color: transparent;
    border-color: var(--primary-color);
}

.btn-secondary::before {
    opacity: 0;
}

.btn-secondary:hover {
    color: #fff;
    border-color: var(--secondary-color);
}

.btn-secondary:hover::before {
    opacity: 1;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes glow-primary {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--primary-color), 0 0 20px var(--primary-color);
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px var(--primary-color), 0 0 25px var(--primary-color);
    }
}

@keyframes glow-secondary {
    from {
        text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--secondary-color), 0 0 20px var(--secondary-color);
    }

    to {
        text-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 20px var(--secondary-color), 0 0 25px var(--secondary-color);
    }
}

/*=============== HEADER & NAV ===============*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: background-color 0.4s, box-shadow 0.4s;
    background: transparent;
}

.header.scrolled {
    background-color: rgba(10, 2, 26, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo img {
    height: 40px;
    filter: drop-shadow(0 0 5px var(--shadow-color-primary));
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--heading-font);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active,
.nav-link:hover {
    color: var(--heading-color);
    text-shadow: 0 0 5px var(--shadow-color-primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color-light);
    font-family: var(--body-font);
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-menu li a:hover {
    background-color: var(--surface-light);
    color: var(--heading-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle,
.nav-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--heading-color);
    display: none;
}

/* Mobile Nav */
@media screen and (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--surface-color);
        padding: 6rem 2rem 2rem;
        z-index: var(--z-menu);
        transition: right 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        display: block;
    }

    .nav-toggle {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.5rem 0;
    }
}

@media screen and (max-width: 576px) {
    .nav-menu {
        width: 100%;
    }
}


/*=============== HERO SECTION ===============*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--h1-size);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--shadow-color-secondary), 0 0 30px var(--shadow-color-primary);
}

.hero-title .line {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-light);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    top: 10%;
    left: 10%;
    animation: move-shape 15s infinite alternate;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 15%;
    right: 15%;
    animation: move-shape 20s infinite alternate-reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--primary-color);
    bottom: 40%;
    left: 20%;
    animation: move-shape 18s infinite alternate;
}

@keyframes move-shape {
    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(300px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    background-color: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s, box-shadow 0.5s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px var(--shadow-color-primary);
    border-color: var(--border-hover);
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover .card-border {
    opacity: 1;
    animation: trace-border 2s linear infinite;
}

@keyframes trace-border {

    0%,
    100% {
        clip-path: inset(0 99% 99% 0);
    }

    25% {
        clip-path: inset(0 0 99% 0);
    }

    50% {
        clip-path: inset(0 0 0 0);
    }

    75% {
        clip-path: inset(99% 0 0 0);
    }
}

.service-card .card-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--primary-color));
    z-index: -1;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--shadow-color-primary);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
    text-shadow: 0 0 15px var(--shadow-color-secondary);
}

.service-card h3 {
    font-size: var(--h3-size);
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.service-card p {
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.card-link {
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-color);
}

.card-link i {
    transition: transform 0.3s;
    margin-left: 0.25rem;
}

.service-card:hover .card-link {
    color: var(--primary-color);
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/*=============== PROCESS SECTION ===============*/
.process-section {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--surface-light);
    transform: translateX(-2px);
}

.process-line::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    transform: scaleY(0);
    transform-origin: top;
}

.process-step {
    position: relative;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
}

.process-step:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
    flex-direction: row-reverse;
}

.process-content {
    width: 100%;
}

.process-content h3 {
    font-size: var(--h3-size);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--text-color-light);
}

.process-node {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--surface-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    z-index: 2;
    box-shadow: 0 0 0 5px var(--surface-color), 0 0 15px var(--shadow-color-primary);
    transition: var(--transition-normal);
}

.process-step:nth-child(odd) .process-node {
    right: -25px;
}

.process-step:nth-child(even) .process-node {
    left: -25px;
}

.process-step.in-view .process-node {
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 5px var(--surface-color), 0 0 25px var(--shadow-color-secondary);
    transform: translateY(-50%) scale(1.1);
}

@media screen and (max-width: 768px) {
    .process-line {
        left: 25px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        left: 0;
        padding-left: 5rem;
        padding-right: 0;
        text-align: left;
        flex-direction: row;
    }

    .process-step:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .process-node,
    .process-step:nth-child(odd) .process-node,
    .process-step:nth-child(even) .process-node {
        left: 0;
    }
}


/*=============== INDUSTRIES SECTION ===============*/
.industries-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.industries-text .section-header {
    text-align: left;
    margin-bottom: 0;
}

.industries-text .section-header p {
    margin-left: 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.industry-item {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-normal);
}

.industry-item:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--border-hover);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.industry-item i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.industry-item span {
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--heading-color);
}

.industry-item:hover i {
    color: var(--secondary-color);
}

@media screen and (max-width: 992px) {
    .industries-content {
        grid-template-columns: 1fr;
    }

    .industries-text .section-header {
        text-align: center;
    }

    .industries-text .section-header p {
        margin: 0 auto;
    }
}

@media screen and (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/*=============== TESTIMONIALS SECTION ===============*/
.testimonials-section {
    background-color: var(--surface-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--surface-light);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: var(--surface-color);
    opacity: 0.8;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--secondary-color);
    font-weight: 500;
}


/*=============== CTA SECTION ===============*/
.cta-content {
    background: linear-gradient(135deg, var(--surface-color) 0%, var(--bg-color) 100%);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(0, 242, 255, 0.2),
            transparent 30%);
    animation: rotate 6s linear infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.cta-text {
    flex: 1 1 400px;
}

.cta-title {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-color-light);
}

.cta-button {
    flex-shrink: 0;
}


/*=============== FOOTER ===============*/
.footer {
    background-color: var(--surface-color);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.25rem;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    text-transform: capitalize;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-color-light);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

#footer-about p {
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color-light);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.footer-col ul li i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-color-light);
}

@media screen and (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo,
    .footer-socials {
        justify-content: center;
    }
}

/*=============== BACK TO TOP ===============*/
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: -30%;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: var(--z-fixed);
    transition: bottom 0.4s, transform 0.4s;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top.show {
    bottom: 2.5rem;
}

/*=============== PAGE HEADER ===============*/
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
    background: linear-gradient(rgba(10, 2, 26, 0.8), rgba(10, 2, 26, 0.8)),
        url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZmlsdGVyIGlkPSJub2lzZSI+PGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNjUiIG51bU9jdGF2ZXM9IjMiIHN0aXRjaFRpbGVzPSJzdGl0Y2giLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbnoaXNlKSIvPjwvc3ZnPg=='),
        linear-gradient(var(--accent-color), var(--bg-color));
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    animation: glow-secondary 2s ease-in-out infinite alternate;
}

.breadcrumbs {
    margin-top: 1rem;
    color: var(--text-color-light);
}

.breadcrumbs a {
    color: var(--text-color);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--primary-color);
}

/*=============== CONTACT PAGE ===============*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info .contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    padding-top: 5px;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.contact-details p,
.contact-details p a {
    color: var(--text-color-light);
}

.contact-details p a:hover {
    color: var(--primary-color);
}

.contact-form {
    background-color: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: var(--h3-size);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--shadow-color-primary);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color-light);
    pointer-events: none;
    transition: top 0.3s, font-size 0.3s, color 0.3s;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--primary-color);
    background-color: var(--surface-color);
    padding: 0 0.25rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group label {
    position: static;
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.checkbox-group a {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    z-index: var(--z-fixed);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 2, 26, 0.7);
    backdrop-filter: blur(5px);
}

.popup-content {
    background-color: var(--surface-color);
    margin: 15% auto;
    padding: 3rem;
    border: 1px solid var(--primary-color);
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px var(--shadow-color-primary);
    animation: popup-fade-in 0.5s ease-out;
}

@keyframes popup-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.popup-close {
    color: var(--text-color-light);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-color-light);
}


/*=============== LEGAL PAGES ===============*/
.legal-wrapper {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    color: var(--text-color-light);
}

.legal-wrapper h2 {
    font-size: var(--h3-size);
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.legal-wrapper p {
    margin-bottom: 1rem;
}

.legal-wrapper strong {
    color: var(--heading-color);
}

.legal-wrapper a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.legal-wrapper a:hover {
    text-decoration: none;
}