:root {
    --primary-color: #00e5ff;
    --secondary-color: #2979ff;
    --bg-color: #0a0a12;
    --card-bg: #151520;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --header-height: 70px;
    --container-width: 1200px;
    --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(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Header */
header {
    height: var(--header-height);
    background-color: rgba(10, 10, 18, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

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

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0a0a12 100%);
    margin-top: var(--header-height);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    top: -50%;
    left: -50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 25px;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
    color: #fff;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Match hero height */
    overflow: hidden;
    margin-top: var(--header-height);
}

.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 15px;
    cursor: pointer;
    border: none;
    font-size: 2rem;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
}

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

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 229, 255, 0.3);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 1.4rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Job Listings */
.job-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s;
}

.job-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.job-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.job-section {
    margin-bottom: 20px;
}

.job-section h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.job-section ul {
    list-style-type: none;
    /* Custom bullets */
    padding-left: 0;
    color: var(--text-muted);
}

.job-section li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.job-section li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

/* Content Sections */
.section {
    padding: 80px 0;
    /* Ensure content clears header if it's the first element */
}

/* Use this utility for pages starting with content */
.page-offset {
    margin-top: var(--header-height);
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(to right, #fff, #a0a0b0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* Policy Pages */
.policy-content {
    margin-top: var(--header-height);
    padding: 60px 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.policy-content h2,
.policy-content h3 {
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content p,
.policy-content li {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.policy-content ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 60px 0 30px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 20px;
    }

    .carousel,
    .hero {
        height: 60vh;
    }

    .section-title {
        font-size: 1.8rem;
    }
}