:root {
    --space-bg: #000000;
    --star-color: #ffffff;
    --accent-gis: #00f3ff;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--space-bg);
    color: #fff;
    overflow-x: hidden;
    /* Starry background effect */
    background-image:
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px),
        radial-gradient(white, rgba(255, 255, 255, .1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--space-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gis);
    border-radius: 5px;
}

/* Navbar reuse but overridden for GIS theme */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

header .logo {
    color: var(--accent-gis);
}

header .navbar ul li a {
    color: #fff;
}

header .navbar ul li a:hover,
header .navbar ul li a.active {
    color: var(--accent-gis);
}

/* Hero Section */
.gis-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: 2rem;
    position: relative;
    z-index: 1;
    /* Ensure hero content is above particles */
}

/* Orbit System Container */
.orbit-system {
    position: relative;
    width: 30rem;
    height: 30rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -5rem;
}



/* Central Logo */
.hero-logo {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    mix-blend-mode: screen;
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.3);
    z-index: 10;
}

/* Orbit Ring Visual */
.orbit-ring {
    position: absolute;
    width: 26rem;
    height: 26rem;
    border: 1px dashed rgba(0, 243, 255, 0.3);
    border-radius: 50%;
    animation: spin-right 20s linear infinite;
}

/* Satellite Container & Icon */
.satellite-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: spin-right 10s linear infinite;
    z-index: 5;
}

.satellite {
    position: absolute;
    top: 50%;
    left: 0;
    /* Starts on the left edge */
    transform: translate(-50%, -50%);
    color: var(--accent-gis);
    font-size: 2rem;
    text-shadow: 0 0 10px var(--accent-gis);
    transform-origin: center;
    animation: maintain-orientation 10s linear infinite reverse;
    /* Keeps icon upright */
}

/* Navigation Nodes (Radial Buttons) */
.nav-node {
    position: absolute;
    width: 4rem;
    height: 4rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--accent-gis);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-gis);
    text-decoration: none;
    font-size: 1.5rem;
    transition: 0.3s;
    z-index: 12;
}

.nav-node:hover {
    background: var(--accent-gis);
    color: #000;
    box-shadow: 0 0 20px var(--accent-gis);
    transform: scale(1.2);
}

/* Positioning Nodes around the circle (12, 3, 6, 9 o'clock approximate) */
.node-1 {
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Top */
.node-2 {
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

/* Right */
.node-3 {
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

/* Bottom */
.node-4 {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

/* Left */

/* Animations */
@keyframes spin-right {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes maintain-orientation {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes glow {
    0% {
        text-shadow: 0 0 2px #fff, 0 0 5px var(--accent-gis);
    }

    100% {
        text-shadow: 0 0 5px #fff, 0 0 10px var(--accent-gis);
    }
}

/* Hero Header Styles */
.gis-hero h1 {
    font-size: 3.5rem;
    /* Reduced from 5rem */
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-gis) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    animation: glow 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 5px rgba(0, 243, 255, 0.3));
    /* Reduced shadow */
    font-weight: 800;
    position: relative;
    /* For satellite containment */
    display: inline-block;
}

/* Crossing Satellite */
.text-satellite {
    position: absolute;
    top: 50%;
    left: -20%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #fff;
    z-index: 20;
    animation: strike-through 6s linear infinite;
    pointer-events: none;
}

@keyframes strike-through {
    0% {
        left: -20%;
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(0.5);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 120%;
        opacity: 0;
        transform: translateY(-50%) rotate(45deg) scale(0.5);
    }
}

.gis-hero p {
    font-size: 1.8rem;
    max-width: 600px;
    margin-bottom: 3rem;
    color: #ccc;
}

/* Modules Grid */
.module-section {
    padding: 5rem 9%;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: var(--accent-gis);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 2rem;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* Video Card specific glow */
.video-card {
    padding: 1rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gis);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.4), inset 0 0 20px rgba(0, 243, 255, 0.1);
}

.video-card h3 {
    margin-top: 1.5rem;
    font-size: 1.6rem;
    text-align: center;
    color: var(--accent-gis);
}

/* Responsive Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
    border-color: var(--accent-gis);
}

.glass-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.glass-card p {
    font-size: 1.4rem;
    color: #ddd;
    margin-bottom: 2rem;
}

.glass-card .btn-gis {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--accent-gis);
    color: var(--accent-gis);
    font-size: 1.4rem;
    border-radius: 50px;
    transition: 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.glass-card .btn-gis:hover {
    background: var(--accent-gis);
    color: #000;
    box-shadow: 0 0 20px var(--accent-gis);
}

/* Price Tag */
.price-tag {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--accent-gis);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Form Styles */
.request-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.request-form input,
.request-form textarea,
.request-form select {
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 10px;
    font-size: 1.4rem;
}

.request-form button {
    width: 100%;
    padding: 1.5rem;
    background: var(--accent-gis);
    border: none;
    color: #000;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.request-form button:hover {
    box-shadow: 0 0 30px var(--accent-gis);
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px var(--accent-gis);
    }

    to {
        text-shadow: 0 0 20px #fff, 0 0 30px var(--accent-gis), 0 0 40px var(--accent-gis);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gis-hero h1 {
        font-size: 3.5rem;
    }

    html {
        font-size: 55%;
    }
}