/* Global Variables */
:root {
    --bg-color: #264a73;
    --text-color: #FFFFFF;
    --accent-primary: #007BFF;
    --accent-secondary: #DC143C;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-padding: 80px 20px;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-primary), #0056b3);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(1, 1, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--accent-primary);
}

.burger {
    display: none;
    cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Hide for now, toggle with JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg-color);
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #3a6291 0%, #264a73 70%);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    /* Ensure image doesn't overflow */
}

.page-hero {
    min-height: 60vh;
    height: 60vh;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
    mix-blend-mode: overlay;
    /* Blends with the dark blue background for consistency */
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Visual Image for Hero */
.hero-visual {
    position: absolute;
    width: 600px;
    height: 600px;
    object-fit: contain;
    /* mix-blend-mode: screen; Optional: blend if desired, otherwise standard display */
    z-index: 1;
    animation: pulse 4s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background-color: #203f63;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.problem-text h2 {
    color: var(--accent-secondary);
}

.content-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Revelation */
.revelation {
    padding: var(--section-padding);
    text-align: center;
}

.revelation h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* The 5 Motors */
.motors {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, #264a73, #203f63);
}

.motors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.motor-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
    text-align: center;
}

.motor-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
}

.motor-icon {
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.motor-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.motor-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.motor-card p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.motor-card ul,
.motor-card ol {
    list-style: none;
    /* Reset default */
    text-align: left;
    margin-top: 10px;
    padding-left: 10px;
}

.motor-card ul li,
.motor-card ol li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.4;
}

.motor-card ul li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.motor-card ol {
    counter-reset: item;
}

.motor-card ol li {
    padding-left: 25px;
}

.motor-card ol li::before {
    counter-increment: item;
    content: counter(item) ".";
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Specific Accent Colors for Motors */
.motor-card:nth-child(2) .motor-icon {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.motor-card:nth-child(2):hover {
    border-color: #ff4757;
}

.motor-card:nth-child(3) .motor-icon {
    color: #a55eea;
    background: rgba(165, 94, 234, 0.1);
}

.motor-card:nth-child(3):hover {
    border-color: #a55eea;
}

.motor-card:nth-child(4) .motor-icon {
    color: #ffa502;
    background: rgba(255, 165, 2, 0.1);
}

.motor-card:nth-child(4):hover {
    border-color: #ffa502;
}

.motor-card:nth-child(5) .motor-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.motor-card:nth-child(5):hover {
    border-color: #ffffff;
}

/* What We Do */
.what-we-do {
    padding: var(--section-padding);
}

/* Results */
.results {
    padding: var(--section-padding);
    background: #203f63;
}

.results-list {
    max-width: 800px;
    margin: 0 auto;
}

.result-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 6px;
}

.result-icon {
    margin-right: 20px;
    color: #ffd700;
}

/* Contact */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(to top, #1c3654, #264a73);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--accent-primary);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

/* Footer */
footer {
    padding: 50px 20px;
    background: #1c3654;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    margin: 0 15px;
    color: #888;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .problem-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}