:root {
    --primary-dark: #050A14; /* Deep Cyber Space Blue */
    --secondary-dark: #0F172A; /* Lighter Navy */
    --accent-blue: #0EA5E9; /* Electric Cyan */
    --accent-glow: #38BDF8; /* Glow color */
    --text-silver: #E2E8F0; /* Readable Silver/White */
    --text-muted: #94A3B8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-dark);
    color: var(--text-silver);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* --- Navigation --- */
header {
    background: rgba(5, 10, 20, 0.95);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover, nav a.active {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.cta-btn {
    background: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.cta-btn:hover {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 0 15px var(--accent-blue);
}

/* --- Hero Section & Video Background --- */
.hero {
    position: relative;
    padding: 6rem 5%;
    text-align: center;
    min-height: 80vh; /* Taller for better video impact */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

/* Static background for non-home pages */
.hero-static {
    background: radial-gradient(circle at center, #1e293b 0%, #050a14 70%);
    min-height: 50vh;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 20, 0.7); /* Darkens video */
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-silver);
    max-width: 800px;
    margin-bottom: 2.5rem;
}

.primary-btn {
    background: linear-gradient(45deg, var(--accent-blue), #2563EB);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    display: inline-block;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 165, 233, 0.6);
}

/* --- Sections General --- */
section {
    padding: 5rem 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards / Columns --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: var(--text-muted);
}

/* --- Solutions Specifics --- */
.partner-name {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: block;
}

/* --- Responsive Video Container --- */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
    border-radius: 8px 8px 0 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- Feature Split Layout (Image + Text) --- */
.split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.split-layout:nth-child(even) {
    flex-direction: row-reverse;
}

.split-text {
    flex: 1;
}

.split-visual {
    flex: 1;
    background: linear-gradient(135deg, var(--secondary-dark), #1e293b);
    height: 300px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
    font-size: 5rem;
    color: var(--accent-blue);
}

/* --- Forms --- */
form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #334155;
    border-radius: 6px;
    color: white;
    font-family: inherit;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* --- Footer --- */
footer {
    background: black;
    padding: 3rem 10%;
    text-align: center;
    border-top: 1px solid #1e293b;
    color: var(--text-muted);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    nav ul { display: none; } /* Standard simplified mobile menu */
    .split-layout { flex-direction: column; }
    .split-layout:nth-child(even) { flex-direction: column; }
    .hero { min-height: 60vh; }
}