/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* Navbar Container */
.navbar {
    background-color: #000000;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Left Side (Explore & Search) */
.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.explore {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.search-container input {
    background-color: #1a1a1a;
    border: 1px solid #444;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    width: 200px;
    outline: none;
}

/* Center Side (Logo) */
.nav-center .logo {
    height: 60px;
    cursor: pointer;
}

/* Right Side (Links) */
.nav-right .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

/* NASA+ and Live Tag */
.nasa-plus {
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-tag {
    background-color: transparent;
    border: 1px solid white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* Hover Effects */
.nav-links li:hover, .explore:hover {
    color: #ccc;
}
/* Responsive Styles */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 10px 20px; /* Padding kam kar di */
        height: auto;
        flex-wrap: wrap; /* Elements ko next line par aane dega */
    }

    .nav-left {
        order: 1; /* Search aur Explore ko adjust karne ke liye */
    }

    .nav-center {
        order: 2;
    }

    .nav-right {
        order: 3;
        width: 100%; /* Menu ko puri width de di */
        margin-top: 15px;
    }

    .nav-links {
        flex-direction: column; /* Links ko ek ke niche ek dikhayega */
        gap: 15px;
        align-items: flex-start;
        display: none; /* Default mein mobile par hide rahega (Toggle ke liye) */
    }

    /* Jab menu active ho tab dikhane ke liye */
    .nav-right.active .nav-links {
        display: flex;
        padding-bottom: 10px;
    }

    .search-container input {
        width: 120px; /* Mobile par search box chota kar diya */
    }

    .nav-center .logo {
        height: 45px; /* Logo thoda chota */
    }
}

/* Hero Section Container */
.hero-section {
    position: relative;
    height: 90vh; /* Screen ki height ka 90% */
    width: 100%;
    background-image: url('nasa hero.jpg'); /* Aap apni image yahan laga sakte hain */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    color: white;
}

/* Dark Overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.7));
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-content h3 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Learn More Button */
.btn-learn {
    background-color: #e03c31; /* NASA Red */
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 18px;
    transition: 0.3s;
}

.btn-learn:hover {
    background-color: #b02a22;
}

/* Bottom Cards Section */
.hero-bottom-cards {
    position: absolute;
    bottom: 30px;
    left: 5%;
    right: 5%;
    display: flex;
    gap: 20px;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 20px;
}

.card {
    flex: 1;
    cursor: pointer;
}

.card span {
    font-size: 12px;
    letter-spacing: 1px;
    color: #ccc;
    display: block;
    margin-bottom: 10px;
}

.card h4 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h4 i {
    background: #e03c31;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
}

.card:hover h4 {
    text-decoration: underline;
}/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.news-section {
    padding: 60px 5%;
    background-color: #fff;
}
/* --- Media Queries for Responsiveness --- */

/* Tablets aur Choti Screens (Laptops) */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 60px; /* Heading thodi choti */
    }
    
    .hero-bottom-cards {
        gap: 15px;
    }
}

/* Mobile Phones (768px aur usse kam) */
@media screen and (max-width: 768px) {
    .hero-section {
        height: auto; /* Fixed height ki jagah content ke hisaab se */
        padding: 100px 5% 40px 5%; /* Top padding navbar se bachne ke liye */
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 100%;
        text-align: center; /* Mobile par center alignment zyada acchi lagti hai */
    }

    .hero-content h1 {
        font-size: 40px; /* Mobile ke liye perfect size */
        margin-bottom: 15px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .btn-learn {
        display: inline-block;
        width: 100%; /* Mobile par button full width behtar lagta hai */
        max-width: 250px;
    }

    /* Bottom Cards ko responsive karna */
    .hero-bottom-cards {
        position: relative; /* Absolute se hatakar flow mein le aaye */
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: column; /* Cards ek ke niche ek aayenge */
        margin-top: 50px;
        background: rgba(0, 0, 0, 0.5); /* Mobile par cards ke piche halka background */
        padding: 20px;
        border-radius: 10px;
    }

    .card {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .card:last-child {
        border-bottom: none;
    }
}

/* Bohat chote phones (480px) */
@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-section {
        background-position: 70% center; /* Image ka main part center mein rakhega */
    }
}
/* --- Header Section --- */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #1a1a1a;
}

.recently-published {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recently-published i {
    color: #e03c31; /* NASA Red */
    font-size: 22px;
}

/* --- Grid Container --- */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 3 Columns layout */
    grid-template-rows: 550px; /* Fix height for the grid */
    gap: 20px;
}

/* --- Common Card Styles --- */
.news-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

/* Dark Gradient Overlay for readability */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

/* --- Specific Card Layouts --- */
.small-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.small-card {
    flex: 1; /* Stack ke dono cards barabar height ke honge */
}

/* --- Typography inside Cards --- */
.tag {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-time {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    color: #ccc;
}

.news-card h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: bold;
}

.small-card h4 {
    font-size: 18px;
    line-height: 1.3;
}
.news-1 { background-image: url('image.png'); }
.news-2 { background-image: url('image copy.png'); }
.news-3 { background-image: url('image copy 2.png'); }
.news-4 { background-image: url('image copy 3.png'); }
/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr; /* Mobile/Tablet par 2 columns */
        grid-template-rows: auto;
    }
    .big-card { grid-column: span 2; height: 400px; }
    .mid-card { height: 350px; }
    .small-cards-stack { height: 350px; }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .big-card, .mid-card { grid-column: span 1; }
    .news-header h2 { font-size: 30px; }
}/* Series Banner Style */
/* Container Settings */
.series-section {
    position: relative;
    width: 100%;
    min-height: 80vh; /* Screen ki height ka 80% */
    display: flex;
    align-items: center; /* Text ko vertically center karne ke liye */
    padding: 0 8%;
    color: white;
    overflow: hidden;
    background-color: #000; /* Backup color */
}

/* Layer 1: Background Image */
.series-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image copy 4.png');
    background-size: cover;
    background-position: center;
    z-index: 1; /* Sab se niche wali layer */
}

/* Layer 2: Dark Overlay */
.series-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient left side se dark hai taake text saaf dikhe */
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 2; /* Image ke upar wali layer */
}

/* Layer 3: Content (Text & Button) */
.series-content {
    position: relative;
    z-index: 3; /* Sab se upar wali layer */
    max-width: 650px; /* Text ki width limit */
}

.series-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* Mazeed behtar readability ke liye */
}

.series-content p {
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* Stream Button Style */
.stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.stream-btn i {
    color: #e03c31; /* NASA signature red */
    font-size: 24px;
}

.stream-btn:hover {
    opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .series-content h1 {
        font-size: 36px;
    }
    .series-section {
        min-height: 60vh;
        padding: 40px 5%;
    }
}
/* Section Main Style */
.explore-earth-section {
    padding: 60px 5%;
    background-color: #ffffff;
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
}

.discover-more {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.discover-more i {
    color: #e03c31; /* NASA Red */
    font-size: 20px;
}

/* Grid Layout */
.earth-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 barabar columns */
    gap: 15px;
}

/* Common Card Style */
.earth-card {
    position: relative;
    height: 400px; /* Card ki unchai */
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Hover effect */
.earth-card:hover {
    transform: scale(1.02);
}

/* Bottom Shadow/Overlay for Text */
.earth-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.earth-card-content h3 {
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.earth-card-content h3 i {
    color: #e03c31;
    font-size: 18px;
}

/* Background Images in CSS */
.card-earth-1 { background-image: url('image copy 5.png'); }
.card-earth-2 { background-image: url('image copy 6.png'); }
.card-earth-3 { background-image: url('image copy 7.png'); }
.card-earth-4 { background-image: url('image copy 8.png'); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .earth-grid { grid-template-columns: repeat(2, 1fr); } /* Tablets par 2 cards */
}

@media (max-width: 600px) {
    .earth-grid { grid-template-columns: 1fr; } /* Mobile par 1 card */
}/* Section Container *//* --- Image of the Day Section --- */
.iotd-section {
    padding: 80px 5%;
    background-color: #fff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.iotd-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1300px;
    margin: 0 auto;
    gap: 60px; /* Text aur Image ke darmiyan gap */
}

/* --- Left Side Text --- */
.iotd-text {
    flex: 1;
}

.iotd-label {
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: bold;
    color: #666;
    display: block;
    margin-bottom: 15px;
}

.iotd-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #000;
}

.iotd-description h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.iotd-description p {
    font-size: 17px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

/* Link and Arrows */
.iotd-link {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.iotd-link i {
    color: #e03c31; /* NASA signature red */
    font-size: 20px;
}

.iotd-link:hover {
    opacity: 0.7;
}

/* --- Right Side Gallery Frame --- */
.iotd-gallery {
    flex: 1.5;
}

.gallery-frame {
    border: 1px solid #ccc; /* Patla grey border frame */
    padding: 10px;
    background-color: #fff;
}

.gallery-img-container {
    position: relative;
    background-color: #000;
    display: flex;
    overflow: hidden;
}

.gallery-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Download Icon Style */
.download-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #0066cc; /* NASA Blue */
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* View Image Box alignment */
.view-image-box {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end; /* View image text ko right side pe le jane ke liye */
}

/* --- Responsive Layout (Mobile ke liye) --- */
@media (max-width: 992px) {
    .iotd-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .iotd-title {
        font-size: 38px;
        margin-bottom: 25px;
    }
    
    .iotd-gallery {
        width: 100%;
    }
}/* --- Gallery Section Styles --- */
.gallery-section {
    padding: 60px 5%;
    background-color: #fff;
}

.gallery-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 40px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns */
    gap: 25px;
}

/* Internal Grid for Images */
.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Badi image 2 hisse, chhoti 1 hissa */
    gap: 8px;
    height: 220px; /* Gallery ki total height */
}

.main-img {
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.side-imgs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

/* Typography */
.gallery-info {
    margin-top: 15px;
}

.gallery-info h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
}

.gallery-info h3:hover {
    text-decoration: underline;
}

.img-count {
    font-size: 11px;
    color: #666;
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* --- BACKGROUND IMAGES PATHS --- */

/* Splashdown Gallery */
.splash-main { background-image: url('image copy 9.png'); }
.splash-side-1 { background-image: url('image copy 10.png'); }
.splash-side-2 { background-image: url('image copy 11.png'); }

/* Flyby Gallery */
.flyby-main { background-image: url('image copy 12.png'); }
.flyby-side-1 { background-image: url('image copy 13.png'); }
.flyby-side-2 { background-image: url('image copy 14.png'); }

/* Launch Gallery */
.launch-main { background-image: url('image copy 15.png'); }
.launch-side-1 { background-image: url('image copy 16.png'); }
.launch-side-2 { background-image: url('image copy 17.png'); }

/* Responsive */
@media (max-width: 1024px) {
    .gallery-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
    .gallery-container { grid-template-columns: 1fr; }
}/* --- SECTION 1: NEWSLETTER BANNER --- */
.newsletter-banner {
    position: relative;
    width: 100%;
    height: 65vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    color: white;
    overflow: hidden;
    margin-bottom: 20px;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background-image: url('image copy 19.png'); /* Nebula Image */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.newsletter-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 2;
}

.newsletter-content {
    position: relative;
    z-index: 3;
    max-width: 550px;
}

.newsletter-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.newsletter-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.privacy-text {
    font-size: 14px !important;
    color: #ccc;
}

.privacy-text a {
    color: #ccc;
    text-decoration: underline;
}

.signup-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
}

.signup-btn i {
    color: #e03c31; /* NASA Red */
    font-size: 26px;
}

/* --- SECTION 2: CELEBRATION (LIGHT THEME) --- */
.celebration-section {
    background-color: #f1f1f1; /* Light Grey Background */
    padding: 80px 8%;
}

.celebration-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.celebration-text {
    flex: 1;
}

.sub-label {
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.celebration-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.1;
}

.highlight-text {
    font-weight: bold;
    font-size: 18px !important;
    margin-bottom: 20px;
}

.celebration-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.learn-more-link i {
    color: #e03c31;
}

/* Right side Image & Caption */
.celebration-image {
    flex: 1;
}

.celebration-image img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 15px;
    color: #444;
}

.credit {
    font-size: 12px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .celebration-container {
        flex-direction: column;
    }
    .newsletter-content h1 {
        font-size: 36px;
    }
}
/* Section Container */
.topics-section {
    padding: 60px 5%;
    background-color: #fff;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Grid Layout: 4 columns in one row */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual Card Styling */
.topic-card {
    position: relative;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: scale(1.02);
}

/* Text Overlay (Bottom) */
.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.topic-overlay h3 {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-overlay h3 i {
    color: #e03c31; /* NASA Red Color */
    font-size: 20px;
}

/* Background Images for Each Card */
.t1 { background-image: url('https://www.nasa.gov/wp-content/uploads/2024/04/missions-topic.jpg'); }
.topics-section {
    padding: 60px 5%;
    background-color: #fff;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* Grid Layout: 4 columns in one row */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Individual Card Styling */
.topic-card {
    position: relative;
    height: 380px;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: scale(1.02);
}

/* Text Overlay (Bottom) */
.topic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
}

.topic-overlay h3 {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-overlay h3 i {
    color: #e03c31; /* NASA Red Color */
    font-size: 20px;
}

/* Background Images for Each Card */
.t1 { background-image: url('image copy 19.png'); }
.t2 { background-image: url('image copy 20.png'); }
.t3 { background-image: url('image copy 21.png'); }
.t4 { background-image: url('image copy 22.png'); }
.t5 { background-image: url('image copy 23.png'); }
.t6 { background-image: url('image copy 24.png'); }
.t7 { background-image: url('image copy 25.png'); }
.t8 { background-image: url('image copy 26.png'); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
}
.t2 { background-image: url('image copy 20.png'); }
.t3 { background-image: url('image copy 21.png'); }
.t4 { background-image: url('image copy 22.png'); }
.t5 { background-image: url('image copy 23.png'); }
.t6 { background-image: url('image copy 24.png'); }
.t7 { background-image: url('image copy 25.png'); }
.t8 { background-image: url('image copy 26.png'); }

/* Responsive adjustments */
@media (max-width: 1024px) {
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .topics-grid { grid-template-columns: 1fr; }
    .topic-card { height: 300px; }
}
.nasa-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 5% 30px;
    font-family: Arial, sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

/* Brand Section */
.footer-brand { flex: 1.5; }
.footer-logo { width: 80px; margin-bottom: 20px; }
.footer-brand h2 { font-size: 24px; margin-bottom: 15px; line-height: 1.2; }
.footer-brand p { font-size: 14px; color: #ccc; line-height: 1.6; margin-bottom: 20px; }
.about-link { display: block; color: #fff; text-decoration: none; margin-bottom: 15px; font-weight: bold; }
.join-us { color: #fff; text-decoration: none; font-weight: bold; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.join-us i { color: #e03c31; }

/* Links Grid */
.footer-links-grid { flex: 2; display: flex; justify-content: space-around; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #fff; text-decoration: none; font-size: 15px; transition: 0.3s; }
.footer-col a:hover { text-decoration: underline; }

/* Badge Style */
.live-badge {
    background-color: transparent;
    border: 1px solid #e03c31;
    color: #e03c31;
    padding: 1px 4px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
}

/* Social Section */
.footer-social { flex: 1; }
.footer-social h3 { font-size: 16px; margin-bottom: 15px; }
.social-icons { display: flex; gap: 15px; margin-bottom: 20px; }
.social-icons a {
    width: 35px; height: 35px; background: #333; 
    border-radius: 50%; display: flex; align-items: center; 
    justify-content: center; color: #fff; text-decoration: none;
}
.more-social { display: block; color: #fff; text-decoration: none; font-size: 14px; margin-bottom: 10px; font-weight: bold; }

/* Bottom Footer */
.footer-bottom { padding-top: 30px; font-size: 13px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 25px; }
.legal-links a { color: #fff; text-decoration: none; }
.footer-meta { color: #aaa; display: flex; gap: 30px; flex-wrap: wrap; }
.footer-meta strong { color: #ccc; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .footer-top { flex-direction: column; }
    .footer-links-grid { flex-direction: column; gap: 30px; }
}
