/* Main color palette: blue gradient (dark to light) */
:root {
    --primary-dark: #10204b;
    --primary: #1e3a8a;
    --primary-light: #4f7bd9;
    --accent: #ff9800;
    --bg: #eaf0fa;
    --white: #fff;
    --gray: #f0f1f6;
    --shadow: 0 4px 24px rgba(16,32,75,0.10);
    --cta-light-blue: #4fbbff;
    --cta-light-blue-hover: #7fd6ff;
}

/* Base styles */
body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background: var(--bg);
    color: #1a2233;
    line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

/* Navigation bar - reduced padding and height */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 0 24px;
    height: 56px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.navbar .logo {
    display: flex;
    align-items: center;
}
.navbar .logo img {
    height: 40px;
    margin-right: 12px;
}
.navbar .brand {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
    text-shadow: none;
}
.navbar nav a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}
.navbar nav a:hover {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

/* Hero section (even darker gradient) */
.hero {
    background: linear-gradient(120deg, #050a1a 0%, #18204a 60%, #eaf6ff 100%);
    color: var(--white);
    text-align: center;
    padding: 104px 24px 80px 24px;
    position: relative;
    box-shadow: 0 8px 32px rgba(16,32,75,0.10);
}
.hero h1 {
    font-size: 3em;
    margin: 0 0 18px 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(16,32,75,0.10);
}
.hero p {
    font-size: 1.4em;
    margin-bottom: 36px;
    font-weight: 400;
    opacity: 0.95;
}
.cta-btn {
    background: var(--cta-light-blue);
    color: var(--white);
    padding: 18px 48px;
    border: none;
    border-radius: 32px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(79,187,255,0.12);
    transition: background 0.2s, box-shadow 0.2s;
    display: inline-block;
    letter-spacing: 0.5px;
}
.cta-btn:hover {
    background: var(--cta-light-blue-hover);
    box-shadow: 0 4px 24px rgba(79,187,255,0.18);
}

/* Section container */
.section {
    max-width: 1200px;
    margin: 40px auto;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 32px 24px;
}
.section-title {
    font-size: 2.2em;
    color: var(--primary-dark);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Services and job listings (original flex layout) */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.service-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    min-height: unset;
    transition: none;
}
.service-row .service-img img {
    width: 320px;
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(30,58,138,0.10);
    border: 2px solid var(--primary-light);
    margin-bottom: 0;
    height: auto;
}
.service-row .service-desc {
    flex: 1;
    text-align: left;
}
.service-row .service-desc h3 {
    color: var(--primary);
    margin-bottom: 14px;
    font-size: 1.5em;
    letter-spacing: 0.2px;
}
.service-row .service-desc p {
    font-size: 1.1em;
    color: #2a3550;
}
.services-list .service-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* Responsive for services */
@media (max-width: 900px) {
    .service-row {
        flex-direction: column !important;
        gap: 24px;
        text-align: center;
    }
    .service-row .service-img img {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }
    .service-row .service-desc {
        text-align: center;
    }
}

/* About section */
.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}
.about-text {
    flex: 2;
    font-size: 1.15em;
}
.about-img {
    flex: 1;
    min-width: 240px;
}
.about-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30,58,138,0.10);
    border: 2px solid var(--primary-light);
}

/* Footer - reduced vertical padding */
footer {
    text-align: center;
    color: #b0b8c9;
    padding: 24px 0 12px 0;
    font-size: 1em;
    background: var(--white);
    margin-top: 32px;
    border-top: 4px solid var(--primary-light);
}
footer nav a {
    color: var(--primary);
    margin: 0 8px;
    font-weight: 500;
    transition: color 0.2s;
}
footer nav a:hover {
    color: var(--accent);
}

/* Form styles (used in careers and contact) */
.container {
    max-width: 600px;
    margin: 48px auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
}
form label {
    display: block;
    margin-top: 18px;
    font-weight: 500;
    color: var(--primary-dark);
}
form input, form textarea, form select {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 6px;
    border: 1px solid #b0b8c9;
    font-family: inherit;
    font-size: 1em;
    background: #f7faff;
    transition: border 0.2s;
}
form input:focus, form textarea:focus, form select:focus {
    border: 1.5px solid var(--primary-light);
    outline: none;
}
form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 1em;
    margin-top: 24px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
    letter-spacing: 0.5px;
}
form button:hover {
    background: var(--primary-dark);
}

/* Responsive design */
@media (max-width: 1100px) {
    .section { padding: 24px 8px; }
    .about { flex-direction: column; gap: 32px; }
}
@media (max-width: 800px) {
    .navbar { flex-direction: column; height: auto; padding: 0 8px; }
    .navbar nav { margin: 12px 0 0 0; }
}