﻿/* Base Styles */
:root {
    --primary-color: #0a192f;
    --secondary-color: #1dddf7;
    --accent-color: #1e90ff;
    --text-color: #ffffff;
    --text-secondary: #ffffff;
    --background-color: #020c1b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 80px;
    scroll-behavior: smooth;

    /* Fixed background for all pages */
    background-color: var(--background-color);
    background-image: linear-gradient(rgba(2, 12, 27, 0.9), rgba(2, 12, 27, 0.9)), url('images/home-bg-final-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Back To Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(29, 221, 247, 0.4);
}

body.home {
    padding-top: 0;
    font-family: 'Roboto', sans-serif;
    /* No padding for home page with hero */
}

/* Background Image */
.background-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-image: url('images/home-bg-final-2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #020c1b;
    opacity: 0;
    transition: opacity 0.1s linear;
}

/* Header Styles */
/* Header Styles */
header {
    padding: 2rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    background-color: transparent;
    /* Default solid/dark for subpages */
    box-shadow: none;
}

header.transparent {
    background-color: transparent;
    box-shadow: none;
}

header.scrolled {
    background-color: transparent;
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-list li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s;
    font-size: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--secondary-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
}

.dropdown-content li {
    padding: 0.5rem 1rem;
}

.dropdown-content li a {
    display: block;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
}

.dropdown-content li a:hover {
    color: var(--secondary-color);
    background-color: rgba(100, 255, 218, 0.1);
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-btn i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.dropdown.active .dropdown-btn i {
    transform: rotate(180deg);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(2, 12, 27, 0.3) 0%, rgba(2, 12, 27, 0.7) 100%);
}

.hero-text {
    max-width: 1200px;
    z-index: 2;
    margin: 0 auto;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-welcome {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);

    /* Typewriter animation */
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--secondary-color);
    width: 0;
    animation: typing 2.5s steps(10, end) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--secondary-color);
    }
}

.hero-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(29, 221, 247, 0.1);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(29, 221, 247, 0.4);
    transform: translateY(-3px);
}

.btn-secondary {
    display: none;
    /* Hiding secondary button to match simpler aesthetic if needed, or style it */
}

/* Features Section */
/* Features Section */
.features {
    padding: 6rem 5%;
    background-color: transparent;
    color: #fff;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title p {
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #112240;
    padding: 2.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    text-align: left;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
}

.icon-wrapper {
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.feature-card i {
    font-size: 2.5rem;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: transparent;
    padding: 4rem 5% 2rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    border-top: 1px solid #112240;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #112240;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 3rem;
        text-align: center;
    }

    .buttons {
        justify-content: center;
    }



    .rocket-wrapper {
        width: 120px;
        height: 300px;
    }

    .rocket {
        width: 80px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hero-text h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .rocket-wrapper {
        width: 100px;
        height: 250px;
    }

    .rocket {
        width: 70px;
        height: 180px;
    }
}

/* About Page Styles */
.about-container {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 3rem;
    background-color: transparent;
}

.about-hero {
    background: #112240;
    padding: 4rem 2rem;
    border-radius: 4px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.about-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-family: 'Roboto', sans-serif;
}

.about-mission {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    background: #112240;
    padding: 2.5rem;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #ffffff;
}

.mission-card p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
}

/* Rocket Models Section */
.rocket-models-section {
    padding: 4rem 2rem;
    background: #112240;
    margin: 3rem 0;
    border-radius: 4px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
}

.rocket-carousel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.control-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.rocket-names {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.rocket-name {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    background: transparent;
    border: 1px solid #8892b0;
    color: #ffffff;
    font-size: 0.9rem;
}

.rocket-name:hover,
.rocket-name.active {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.rocket-name.active {
    background-color: rgba(100, 255, 218, 0.1);
}

.rocket-viewer {
    position: relative;
    height: 500px;
    background: #020c1b;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #233554;
}

#rocket-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.rocket-controls {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 10;
}

.control-toggle,
.view-btn {
    background: rgba(2, 12, 27, 0.9);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.control-toggle:hover,
.view-btn:hover,
.view-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.rocket-details {
    background: #020c1b;
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid #233554;
}

.rocket-details h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.rocket-details p {
    color: #ffffff;
    margin-bottom: 2rem;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #112240;
    border-radius: 4px;
}

.spec-label {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.spec-value {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* About & Contact Content Specifics */
.about-content,
.contact-content {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.about-text p {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-card {
    background: #112240;
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card i {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.activity-card h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.activity-card p {
    font-size: 0.95rem;
}

.about-stats {
    flex: 1;
}

.about-stats h3 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: #112240;
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ffffff;
    font-size: 0.9rem;
}

.join-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #112240;
    border-radius: 4px;
    margin-bottom: 3rem;
}

.join-section h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.join-section p {
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.join-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.join-button:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Contact Page Specifics */
/* Contact Form Status Messages */
#form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
    text-align: center;
}

#form-status.success {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

#form-status.error {
    background-color: rgba(255, 99, 71, 0.1);
    color: #ff6347;
    border: 1px solid #ff6347;
}

#form-status i {
    margin-right: 0.5rem;
}

.contact-container {
    padding-top: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 3rem;
    background-color: transparent;
}

.contact-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-hero h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: #112240;
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.info-card div {
    display: flex;
    flex-direction: column;
}

.info-card h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    flex: 1.5;
    background: #112240;
    padding: 3rem;
    border-radius: 4px;
}

.contact-form h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    background: #020c1b;
    border: 1px solid #233554;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* ========================================= */
/* PROJECTS PAGE STYLES                      */
/* ========================================= */

.projects-container {
    padding-top: 120px;
    background-color: transparent;
}

.projects-hero {
    background: linear-gradient(rgba(2, 12, 27, 0.7), rgba(2, 12, 27, 0.7)), url('images/projects/project-bg.jpg');
    /* Ensure this image exists, or use a fallback color */
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 40px;
}

.projects-hero h2 {
    font-size: 3rem;
    font-family: 'Roboto', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.projects-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.projects-intro {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.projects-intro h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.projects-intro p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto 80px;
}

.project-card {
    background: #112240;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    position: relative;
    border: 1px solid rgba(100, 255, 218, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.7);
    border-color: rgba(100, 255, 218, 0.2);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-color: #000;
    /* Dark background for letterboxing */
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Fit the entire image */
    transition: transform 0.5s ease;
    /* filter: grayscale(20%); Removed to keep original colors vivid */
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.project-tag {
    background: rgba(10, 25, 47, 0.9);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-family: 'Space Mono', monospace;
    border: 1px solid var(--secondary-color);
}

.project-content {
    padding: 25px;
}

.project-content h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.project-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-family: 'Space Mono', monospace;
    opacity: 0.8;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(230, 241, 255, 0.1);
    padding-top: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat i {
    color: var(--secondary-color);
}

.report-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.report-link:hover {
    text-decoration: underline;
}

.project-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ========================================= */
/* TEAM PAGE STYLES (Propulsion, etc.)       */
/* ========================================= */

.team-section {
    padding: 120px 20px 80px;
    background-color: transparent;
    max-width: 1400px;
    margin: 0 auto;
}

.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.team-description {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-head {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.team-head .member-card {
    max-width: 400px;
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
}

.team-subheading {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.team-subheading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: var(--secondary-color);
    opacity: 0.5;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.member-card {
    background: #112240;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(2, 12, 27, 0.5);
}

.member-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: grayscale(10%);
}

.member-card:hover .member-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.member-info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.member-info h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-family: 'Roboto', sans-serif;
}

.member-info .position {
    color: var(--secondary-color);
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.member-info .details {
    color: #ffffff;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 15px;
}

.member-info .bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: auto;
}

@media (max-width: 768px) {

    .projects-grid,
    .team-members {
        grid-template-columns: 1fr;
    }

    .team-head .member-card {
        transform: scale(1);
        max-width: 100%;
    }

    .projects-hero h2 {
        font-size: 2rem;
    }
}

/* ========================================= */
/* MERGED ABOUT SECTION & STAR BACKGROUND    */
/* ========================================= */

#stars,
#stars2,
#stars3 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    z-index: -2;
    pointer-events: none;
}

#stars {
    background-image:
        radial-gradient(1.5px 1.5px at 20px 30px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 40px 70px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 50px 160px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 90px 40px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(1.5px 1.5px at 130px 80px, #ffffff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: stars-anim 100s linear infinite;
    opacity: 0.5;
}

#stars2 {
    background-image:
        radial-gradient(2px 2px at 100px 150px, #ffffff, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 200px 50px, #ffffff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: stars-anim 150s linear infinite;
    opacity: 0.4;
}

#stars3 {
    background-image:
        radial-gradient(2.5px 2.5px at 50px 100px, #ffffff, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: stars-anim 200s linear infinite;
    opacity: 0.3;
}

@keyframes stars-anim {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-2000px);
    }
}

.about-section-merged {
    position: relative;
    z-index: 1;

    /* =========================================
   Project Detail Page Styles
   ========================================= */

    .project-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .content-row {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 2rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.9rem;
        color: #ffffff;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .breadcrumb a {
        color: var(--secondary-color);
    }

    /* Cards */
    .card {
        background: rgba(10, 25, 47, 0.8);
        border-radius: 10px;
        padding: 1.5rem;
        border: 1px solid rgba(100, 255, 218, 0.08);
        backdrop-filter: blur(5px);
    }

    .gallery-card {
        padding: 1rem;
    }

    .content-card {
        padding: 1.7rem;
    }

    /* Gallery & Images */
    .main-image {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid rgba(100, 255, 218, 0.18);
        background: #000814;
    }

    .main-image img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .image-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1rem;
        background: linear-gradient(to top, rgba(10, 25, 47, 0.85), transparent);
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .thumbs {
        margin-top: 0.8rem;
        display: flex;
        gap: 0.6rem;
        overflow-x: auto;
        padding-bottom: 0.3rem;
    }

    .thumbs::-webkit-scrollbar {
        height: 5px;
    }

    .thumbs::-webkit-scrollbar-thumb {
        background: rgba(136, 146, 176, 0.7);
        border-radius: 3px;
    }

    .thumb {
        flex: 0 0 90px;
        border-radius: 8px;
        overflow: hidden;
        border: 2px solid transparent;
        cursor: pointer;
        opacity: 0.7;
        background: #000814;
        transition: all 0.3s;
    }

    .thumb img {
        width: 100%;
        height: 60px;
        object-fit: cover;
    }

    .thumb.active,
    .thumb:hover {
        opacity: 1;
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 1px rgba(29, 221, 247, 0.4);
    }

    .thumb-count {
        margin-top: 0.5rem;
        font-size: 0.85rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    /* Badges & Pills */
    .badge {
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .badge-primary {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        font-family: 'Orbitron', sans-serif;
    }

    .badge-dark {
        background: rgba(2, 12, 27, 0.8);
        color: #ffffff;
    }

    .pill-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .pill {
        padding: 0.3rem 0.8rem;
        border-radius: 20px;
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
    }

    .pill-outlined {
        border: 1px solid rgba(29, 221, 247, 0.6);
        color: var(--secondary-color);
    }

    .pill-dashed {
        border: 1px dashed rgba(136, 146, 176, 0.8);
        color: #ffffff;
        font-family: 'Space Mono', monospace;
    }

    /* Typography & Content */
    .title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .title .spark {
        color: #facc15;
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 0.95rem;
        color: #ffffff;
        margin-bottom: 1.2rem;
    }

    .lead {
        font-size: 0.95rem;
        color: #ffffff;
        margin-bottom: 1rem;
        line-height: 1.7;
    }

    /* Stats Grid */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-bottom: 1.2rem;
    }

    .stat-card {
        background: rgba(2, 12, 27, 0.9);
        border-radius: 8px;
        padding: 0.8rem;
        border: 1px solid rgba(15, 23, 42, 0.9);
    }

    .stat-label {
        font-size: 0.8rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .stat-value {
        font-size: 1rem;
        font-weight: 600;
        margin-top: 0.2rem;
    }

    .stat-note {
        font-size: 0.75rem;
        color: #4ade80;
        margin-top: 0.2rem;
    }

    /* Info Grid */
    .info-grid {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .info-card {
        background: rgba(2, 12, 27, 0.9);
        border-radius: 8px;
        padding: 1rem;
        border: 1px solid rgba(15, 23, 42, 0.9);
    }

    .info-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .info-icon {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: rgba(29, 221, 247, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        color: var(--secondary-color);
    }

    .info-title {
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--text-color);
    }

    .info-body {
        font-size: 0.85rem;
        color: #ffffff;
        line-height: 1.7;
    }

    .info-body ul {
        margin-top: 0.4rem;
        padding-left: 1.1rem;
    }

    .info-body li {
        margin-bottom: 0.3rem;
    }

    /* Video Section */
    .video-section {
        margin-bottom: 2rem;
    }

    .video-section h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .video-section p {
        font-size: 0.9rem;
        color: #ffffff;
        margin-bottom: 1rem;
    }

    .video-wrapper {
        position: relative;
        width: 100%;
        padding-bottom: 56.25%;
        /* 16:9 Aspect Ratio */
        height: 0;
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid rgba(100, 255, 218, 0.18);
        background: #000814;
    }

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

    .actions {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .file-meta {
        font-size: 0.8rem;
        color: #ffffff;
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    @media (max-width: 992px) {

        .content-row,
        .info-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 768px) {
        .main-image img {
            height: 240px;
        }

        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}

/* Events Slideshow Section */
.events-slideshow {
    padding: 0 2rem 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: #000;
    aspect-ratio: 16 / 9;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
    background-color: rgba(29, 221, 247, 0.8);
    color: #020c1b;
}

/* The dots/bullets/indicators */
.dots-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot:hover,
.dot.active {
    background-color: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays for grids */
/* Stagger delays for grids */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

.reveal-delay-400 {
    transition-delay: 0.4s;
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    .reveal-up,
    .reveal-left,
    .reveal-right {
        transition: all 0.8s ease-out;
        /* Simpler transition for mobile performance */
        transform: translateY(20px);
        /* Less movement on mobile */
    }

    .reveal.active {
        transform: translate(0, 0);
    }
}

/* Video Showcase Grid */
.video-showcase {
    padding: 0 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

/* Sponsors Section */
.sponsors-section {
    padding: 4rem 5%;
    background-color: #020c1b;
    text-align: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Exact 2 columns */
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    /* Add gap between cards */
}

.sponsor-card {
    background: #ffffff;
    /* White background for visibility */
    padding: 1rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    /* Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sponsor-card:last-child {
    border-right: none;
}

.sponsor-card img {
    max-width: 350px;
    width: 90%;
    /* filter: brightness(0) invert(1); Removed to show original colors */
    opacity: 1;
    /* Full opacity */
    transition: transform 0.3s ease;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sponsor-card:hover img {
    transform: scale(1.05);
}



.sponsor-placeholder {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2rem;
    border: 2px dashed #8892b0;
    padding: 1rem;
    border-radius: 8px;
}

/* =========================================
   Project Page Specific Styles
   ========================================= */

/* Main Project Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 2rem 3rem;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Grid Layouts */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.content-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
}

/* Card Components */
.card {
    background: rgba(10, 25, 47, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.08);
    backdrop-filter: blur(5px);
}

.gallery-card {
    padding: 1rem;
}

.content-card {
    padding: 1.7rem;
}

/* Main Image & Badge */
.main-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.18);
    background: #000814;
}

.main-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.85), transparent);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
}

.badge-dark {
    background: rgba(2, 12, 27, 0.8);
    color: #ffffff;
}

/* Typography Helpers */
.title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary-color);
}

.title .spark {
    color: #facc15;
    font-size: 1.3rem;
}

.subtitle {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.lead {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Thumbnails */
.thumbs {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.3rem;
}

.thumbs::-webkit-scrollbar {
    height: 5px;
}

.thumbs::-webkit-scrollbar-thumb {
    background: rgba(136, 146, 176, 0.7);
    border-radius: 3px;
}

.thumb {
    flex: 0 0 90px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    background: #000814;
    transition: all 0.3s;
}

.thumb img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
}

.thumb.active,
.thumb:hover {
    opacity: 1;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 1px rgba(29, 221, 247, 0.4);
}

.thumb-count {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Pills / Tags */
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pill {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.pill-outlined {
    border: 1px solid rgba(29, 221, 247, 0.6);
    color: var(--secondary-color);
}

.pill-dashed {
    border: 1px dashed rgba(136, 146, 176, 0.8);
    color: #ffffff;
    font-family: 'Space Mono', monospace;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.stat-card {
    background: rgba(2, 12, 27, 0.9);
    border-radius: 8px;
    padding: 0.8rem;
    border: 1px solid rgba(15, 23, 42, 0.9);
    transition: transform 0.3s ease;
}

.stat-label {
    font-size: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.2rem;
    color: var(--text-color);
}

.stat-note {
    font-size: 0.75rem;
    color: #4ade80;
    margin-top: 0.2rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.info-card {
    background: rgba(2, 12, 27, 0.9);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.9);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.info-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(29, 221, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.info-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.info-body {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.7;
}

.info-body ul {
    margin-top: 0.4rem;
    padding-left: 1.1rem;
}

.info-body li {
    margin-bottom: 0.3rem;
}

/* Actions */
.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--secondary-color);
    text-decoration: none;
    color: var(--text-color);
    /* Default btn color */
}

/* Video Section in Projects */
.video-section {
    margin-bottom: 2rem;
}

.video-section h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-family: 'Orbitron', sans-serif;
}

.video-section p {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.project-video-wrapper {
    /* Distinct from homepage video wrapper if necessary */
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(100, 255, 218, 0.18);
    background: #000814;
}

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

.file-meta {
    font-size: 0.8rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Mobile Responsive For Projects */
@media (max-width: 992px) {

    .content-row,
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Video Showcase Section on Home Page */
.video-showcase {
    padding: 2rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.video-card {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.video-card .video-wrapper iframe,
.video-card .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 4px;
    object-fit: cover;
    /* Ensures video fills the container */
}