
        :root {
            --space-dark: #0b0c2a;
            --space-blue: #1b1d3b;
            --space-gold: #ffd700;
            --space-purple: #4d2b80;
        }
        
        /* Enhanced Starry Background */
        body {
            background-color: var(--space-dark);
            background-image: 
                radial-gradient(circle, white 1px, transparent 1px),
                radial-gradient(circle, rgba(255,255,255,0.8) 1px, transparent 1px),
                radial-gradient(circle, rgba(255,255,255,0.5) 1px, transparent 1px);
            background-size: 100px 100px, 200px 200px, 300px 300px;
            background-position: 0 0, 20px 20px, 50px 50px;
            color: #fff;
            font-family: 'Segoe UI', 'Roboto', sans-serif;
            overflow-x: hidden;
        }

        /* NASA Style Header */
        .hero-header {
            background: linear-gradient(135deg, var(--space-blue) 0%, var(--space-dark) 100%);
            border-bottom: 3px solid var(--space-gold);
            position: relative;
            ;
        }

        .hero-header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
            opacity: 0.15;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        /* Enhanced Gallery */
        .space-gallery {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            padding: 3rem 0;
        }

        .space-item {
            flex: 1 1 350px;
            max-width: 380px;
            overflow: hidden;
            border-radius: 12px;
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
            background: rgba(27,29,59,0.85);
            border: 1px solid var(--space-gold);
            position: relative;
        }

        .space-item::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--space-gold), var(--space-purple));
        }

        .space-item:hover {
            transform: translateY(-15px) scale(1.03);
            box-shadow: 0 20px 40px rgba(255,215,0,0.3);
        }
    /* More specific dropdown fix */
    .navbar .dropdown-menu {
        position: absolute;
        display: none; /* Hidden by default */
        background: rgba(27,29,59,0.95);
        border: 1px solid var(--space-gold);
        z-index: 1050; /* Very high z-index */
    }

    .navbar .dropdown:hover .dropdown-menu,
    .navbar .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu .dropdown-item {
        color: #fff;
        padding: 0.5rem 1.5rem;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
        background: rgba(255,215,0,0.1);
        color: var(--space-gold);
    }

        .space-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.8s ease;
            filter: brightness(0.9);
        }

        .space-item:hover .space-img {
            transform: scale(1.15);
            filter: brightness(1.1);
        }

        /* Alternating Content Sections */
        .content-section {
            padding: 5rem 0;
            position: relative;
        }

        .content-section:nth-child(odd) {
            background: rgba(11,12,42,0.7);
        }

        .content-section:nth-child(even) {
            background: rgba(27,29,59,0.7);
        }

        .section-image {
            border-radius: 15px;
            box-shadow: 0 15px 30px rgba(0,0,0,0.4);
            transition: transform 0.5s ease;
            border: 2px solid var(--space-gold);
        }

        .section-image:hover {
            transform: scale(1.03);
        }

        .section-content {
            padding: 2rem;
        }

        .section-title {
            color: var(--space-gold);
            font-weight: 700;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--space-gold);
        }

        /* Enhanced Cards */
        .space-card {
            background: linear-gradient(145deg, rgba(27,29,59,0.9), rgba(11,12,42,0.9));
            border-radius: 12px;
            transition: all 0.4s ease;
            height: 100%;
            border: 1px solid rgba(255,215,0,0.3);
            overflow: hidden;
        }

        .space-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(255,215,0,0.2);
            border-color: var(--space-gold);
        }

        .card-img-top {
            height: 200px;
            object-fit: cover;
            border-bottom: 3px solid var(--space-gold);
        }

        .card-body {
            padding: 1.5rem;
        }

        .card-title {
            color: var(--space-gold);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        /* NASA Style Button */
        .nasa-btn {
            background: linear-gradient(to right, var(--space-purple), var(--space-blue));
            border: none;
            color: white;
            font-weight: 600;
            letter-spacing: 0.5px;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        .nasa-btn {
          background: linear-gradient(to right, var(--space-gold), var(--space-purple)); /* Changed to gold gradient */
         border: none;
          color: white !important; /* Force white text */
           font-weight: 600;
          letter-spacing: 0.5px;
          padding: 0.75rem 2rem;
          border-radius: 50px;
         transition: all 0.3s ease;
         position: relative;
         overflow: hidden;
    }

      .nasa-btn:hover {
         background: linear-gradient(to right, var(--space-purple), var(--space-blue)); /* Original hover color */
         color: white !important; /* Keep text white on hover */
         transform: translateY(-2px);
          box-shadow: 0 5px 15px rgba(255,215,0,0.3);
      }

        .nasa-btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            color: #ffd700;
            height: 100%;
            background: linear-gradient(to right, transparent, rgba(210, 238, 86, 0.2), transparent);
            transition: all 0.5s ease;
        }
        .space {
            margin: 3rem 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .space iframe {
            width: 100%;
            height: 500px;
            border: none;
        }

        .nasa-btn:hover {
            background: linear-gradient(to right, var(--space-blue), var(--space-purple));
            color: var(--space-gold);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255,215,0,0.3);
        }

        .nasa-btn:hover::before {
            left: 100%;
        }

        /* Floating Animation */
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-15px); }
        }
        #nav-placeholder {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
        }

        .floating {
            animation: float 8s ease-in-out infinite;
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .section-image {
                margin-bottom: 2rem;
            }
        }

        @media (max-width: 768px) {
            .space-item {
                flex: 1 1 100%;
            }
            
            .hero-header {
                padding-top: 6rem;
                padding-bottom: 4rem;
            }
        }
        .fas-fa-rocket-me-2 {
         color: var(--space-gold);
            margin-right: 0.5rem;
            color: gold
        }
         
