/*==================== GOOGLE FONTS ====================*/
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Roboto:wght@300;400;500;700&display=swap');

/*==================== VARIABLES CSS ====================*/
:root {
    /* Colors */
    --nebula-purple: #9C27B0;
    --stellar-cyan: #00BCD4;
    --deep-black: #0B0B0B;
    --light-black: #1a1a1e;
    --text-color: #E0E0E0;
    --text-color-light: #A0A0A0;
    --white-color: #FFFFFF;
    --glow-color: rgba(0, 188, 212, 0.5);
    --glow-color-purple: rgba(156, 39, 176, 0.5);

    /* Typography */
    --body-font: 'Roboto', sans-serif;
    --heading-font: 'Orbitron', sans-serif;

    /* Font sizes */
    --big-font-size: 3.5rem;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;

    /* Font weight */
    --font-normal: 400;
    --font-medium: 500;
    --font-semi-bold: 700;
    --font-bold: 900;

    /* Margins */
    --mb-0-25: .25rem;
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /* Z-index */
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Responsive typography */
@media screen and (max-width: 992px) {
    :root {
        --big-font-size: 2.75rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: .938rem;
        --small-font-size: .813rem;
        --smaller-font-size: .75rem;
    }
}

/*==================== BASE ====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-black);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--heading-font);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--stellar-cyan);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--white-color);
    text-shadow: 0 0 8px var(--glow-color);
}

img {
    max-width: 100%;
    height: auto;
}

/*==================== REUSABLE CSS CLASSES ====================*/
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--h2-font-size);
    color: var(--white-color);
    margin-bottom: var(--mb-1);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--stellar-cyan), var(--nebula-purple));
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--normal-font-size);
    color: var(--text-color-light);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/*==================== BACKGROUND & CURSOR ====================*/
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
}

#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 188, 212, 0.1) 0%, rgba(0, 188, 212, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: transform 0.1s ease-out;
}

/*==================== HEADER ====================*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 188, 212, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 6rem;
    transition: height 0.4s ease;
}

.header.scrolled .header-container {
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--heading-font);
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
}

.logo-img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.4s ease;
}

.logo:hover .logo-img {
    transform: rotate(360deg);
}

.logo-text {
    font-size: 1.25rem;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--heading-font);
    color: var(--text-color);
    font-weight: var(--font-medium);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--stellar-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-close {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    font-size: 1.5rem;
    color: var(--white-color);
    cursor: pointer;
    display: none;
}

/*==================== BUTTONS ====================*/
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-family: var(--heading-font);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(90deg, var(--stellar-cyan), var(--nebula-purple));
    color: var(--white-color);
    border: none;
    box-shadow: 0 0 15px var(--glow-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--nebula-purple), var(--stellar-cyan));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--stellar-cyan);
    border: 2px solid var(--stellar-cyan);
    transition: background-color 0.4s, color 0.4s;
}

.btn-secondary:hover {
    background-color: var(--stellar-cyan);
    color: var(--deep-black);
    box-shadow: 0 0 20px var(--glow-color);
}

.btn-tertiary {
    padding: 0.5rem 1rem;
    background-color: rgba(0, 188, 212, 0.1);
    color: var(--stellar-cyan);
    border: 1px solid var(--stellar-cyan);
    font-size: var(--small-font-size);
}

.btn-tertiary:hover {
    background-color: var(--stellar-cyan);
    color: var(--deep-black);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
}

/*==================== HERO SECTION ====================*/
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: var(--big-font-size);
    margin-bottom: var(--mb-1-5);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-light);
    max-width: 700px;
    margin: 0 auto var(--mb-2-5);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    opacity: 0.15;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0deg) rotateX(10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.globe-sphere {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--stellar-cyan);
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate3d 30s linear infinite;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid var(--stellar-cyan);
    border-radius: 50%;
    transform-style: preserve-3d;
}

.globe-ring:nth-child(2) {
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%) rotateX(70deg);
    animation: rotate3d 40s linear infinite reverse;
}

.globe-ring:nth-child(3) {
    width: 140%;
    height: 140%;
    transform: translate(-50%, -50%) rotateX(120deg);
    animation: rotate3d 35s linear infinite;
}

.globe-ring:nth-child(4) {
    width: 160%;
    height: 160%;
    transform: translate(-50%, -50%) rotateX(20deg);
    animation: rotate3d 50s linear infinite reverse;
}

/*==================== SERVICES SECTION ====================*/
.services-section {
    background-color: rgba(26, 26, 30, 0.5);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card-wrapper {
    perspective: 1000px;
}

.service-card {
    position: relative;
    width: 100%;
    min-height: 350px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-wrapper:hover .service-card {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--light-black);
    border: 1px solid rgba(0, 188, 212, 0.2);
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.1);
}

.service-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(0, 188, 212, 0.2));
}

.service-icon {
    font-size: 3rem;
    color: var(--stellar-cyan);
    margin-bottom: var(--mb-1-5);
    text-shadow: 0 0 15px var(--glow-color);
}

.service-title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

.service-desc {
    color: var(--text-color-light);
}

.service-card-back ul {
    margin-bottom: 2rem;
    text-align: left;
}

.service-card-back ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card-back ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--stellar-cyan);
}

/*==================== ABOUT SECTION ====================*/
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.stat-number {
    font-size: var(--h2-font-size);
    color: var(--stellar-cyan);
    margin-bottom: var(--mb-0-5);
}

.stat-label {
    color: var(--text-color-light);
    font-size: var(--small-font-size);
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-display {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    border-radius: 50%;
    background: radial-gradient(circle, transparent 0%, transparent 40%, rgba(0, 188, 212, 0.1) 40%, rgba(0, 188, 212, 0) 70%);
}

.radar-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(0, 188, 212, 0.2) 0deg 1deg, transparent 1deg 30deg),
        repeating-radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.2), rgba(0, 188, 212, 0.2) 1px, transparent 1px, transparent 20%);
}

@keyframes sweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.radar-sweep {
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    left: 50%;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, transparent, var(--stellar-cyan));
    opacity: 0.3;
    animation: sweep 4s linear infinite;
}

.radar-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--stellar-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color);
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
}

.radar-blip {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--nebula-purple);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--glow-color-purple);
    transform: rotate(var(--blip-angle)) translateY(calc(var(--blip-dist) * -1.75px)) rotate(calc(var(--blip-angle) * -1));
    animation: pulse 2s ease-in-out infinite;
    animation-delay: calc(var(--blip-angle) / 120 * 1s);
}

/*==================== INDUSTRIES SECTION ====================*/
.industries-section {
    background-color: rgba(26, 26, 30, 0.5);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    background-color: var(--light-black);
    color: var(--text-color);
    border: 1px solid rgba(0, 188, 212, 0.2);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-family: var(--heading-font);
    font-size: var(--normal-font-size);
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-button:hover,
.tab-button.active {
    background-color: var(--stellar-cyan);
    color: var(--deep-black);
    box-shadow: 0 0 15px var(--glow-color);
}

.tab-content {
    display: none;
    padding: 2rem;
    background-color: var(--light-black);
    border-radius: 5px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--stellar-cyan);
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*==================== TESTIMONIALS SECTION ====================*/
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-black);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, var(--stellar-cyan), var(--nebula-purple)) 1;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--mb-1-5);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--stellar-cyan), var(--nebula-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin-right: var(--mb-1);
}

.testimonial-name {
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
}

.testimonial-company {
    font-size: var(--small-font-size);
    color: var(--text-color-light);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-color);
}

/*==================== CTA SECTION ====================*/
.cta-section {
    background: linear-gradient(rgba(11, 11, 11, 0.9), rgba(11, 11, 11, 0.9)),
        url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?q=80&w=2071&auto=format&fit=crop') no-repeat center center/cover;
}

.cta-title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-color-light);
}

/*==================== FOOTER ====================*/
.footer {
    background-color: var(--light-black);
    padding-top: 5rem;
    font-size: var(--small-font-size);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col-title {
    font-size: 1.1rem;
    color: var(--white-color);
    text-transform: capitalize;
    margin-bottom: var(--mb-1-5);
}

.footer-about-text {
    margin-bottom: var(--mb-1-5);
    color: var(--text-color-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color-light);
    border-radius: 50%;
    color: var(--text-color-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--white-color);
    background-color: var(--stellar-cyan);
    border-color: var(--stellar-cyan);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: var(--mb-0-75);
}

.footer-links ul li a {
    color: var(--text-color-light);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--stellar-cyan);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: var(--mb-1);
    color: var(--text-color-light);
}

.footer-contact ul li i {
    color: var(--stellar-cyan);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--text-color-light);
}

.footer-contact a:hover {
    color: var(--stellar-cyan);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
}

/*==================== PAGE HEADER ====================*/
.page-header-section {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(180deg, rgba(11, 11, 11, 0) 0%, var(--deep-black) 100%);
    text-align: center;
}

.page-header-section h1 {
    font-size: var(--h1-font-size);
}

.page-header-desc {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-light);
}

.breadcrumbs a {
    color: var(--text-color-light);
}

.breadcrumbs a:hover {
    color: var(--stellar-cyan);
}

.breadcrumbs i {
    font-size: 0.75rem;
}

/*==================== CONTACT PAGE ====================*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--light-black);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.contact-info-panel h3 {
    font-size: var(--h3-font-size);
    color: var(--stellar-cyan);
    margin-bottom: var(--mb-1);
}

.contact-info-panel p {
    color: var(--text-color-light);
    margin-bottom: var(--mb-2);
}

.contact-details-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: var(--mb-2);
    align-items: flex-start;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--stellar-cyan);
    margin-top: 5px;
}

.contact-details-list h4 {
    font-size: 1.1rem;
    text-transform: capitalize;
    margin-bottom: var(--mb-0-25);
}

.contact-details-list p,
.contact-details-list a {
    color: var(--text-color-light);
}

.contact-details-list a:hover {
    color: var(--stellar-cyan);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: border-color 0.3s;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300BCD4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group select option {
    background-color: var(--deep-black);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--stellar-cyan);
    box-shadow: 0 0 10px var(--glow-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-color-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: var(--small-font-size);
    color: var(--stellar-cyan);
    background-color: var(--light-black);
    padding: 0 0.25rem;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-modal);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--light-black);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--stellar-cyan);
    box-shadow: 0 0 30px var(--glow-color);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--stellar-cyan);
    margin-bottom: 1.5rem;
}

.popup-content h3 {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.popup-content p {
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

/*==================== LEGAL PAGES ====================*/
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-black);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 188, 212, 0.2);
}

.legal-content h2 {
    font-size: var(--h3-font-size);
    color: var(--stellar-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.legal-content a {
    text-decoration: underline;
}

/*==================== ANIMATIONS ====================*/
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-in.fade-in-left {
    transform: translateX(-30px);
}

.animate-in.fade-in-right {
    transform: translateX(30px);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-in.fade-in-left.visible,
.animate-in.fade-in-right.visible {
    transform: translateX(0);
}

/*==================== RESPONSIVENESS ====================*/
@media screen and (max-width: 1024px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: var(--normal-font-size);
    }

    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .nav-toggle {
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--deep-black);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
    }

    .nav-menu.show-menu {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--white-color);
        background: none;
        border: none;
        cursor: pointer;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-globe {
        width: 400px;
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-links ul li a:hover {
        padding-left: 0;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    #cursor-glow {
        display: none;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }
}