:root {
    /* Color Palette - Professional Navy & Teal */
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #0d9488;
    /* Professional Teal */
    --accent-color: #f59e0b;
    /* Warm Amber for CTAs (Complementary) */
    --text-color: #334155;
    /* Slate 700 */
    --bg-color: #f8fafc;
    /* Slate 50 */
    --white: #ffffff;
    --light-gray: #e2e8f0;

    /* Typography */
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.grid {
    display: grid;
}

.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #0f766e;
    /* Darker Teal */
    border-color: #0f766e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header/Nav */
header {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Brand/Logo Area */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0;
    gap: 1.5rem;
    /* Added space between logo and text */
}

.logo img {
    height: 65px;
    /* Reduced to fit within 80px header */
    width: auto;
    display: block;
}

.site-title {
    display: flex;
    flex-direction: column;
}

.site-title .main-name {
    font-size: 1.5rem;
    /* Reduced from 2rem to prevent overflow */
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.site-title .tagline {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-gray);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

/* Service Details - NEW */
.service-detail-item {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.service-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
}

.service-header h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-overview {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.service-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.service-list-group h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.service-list-group ul {
    list-style: none;
}

.service-list-group li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.service-list-group li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.tech-label {
    font-weight: 600;
    margin-right: 0.5rem;
    align-self: center;
    color: var(--primary-color);
}

.tech-tag {
    background-color: #f1f5f9;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--light-gray);
}

/* Technical Capabilities */
.capabilities-section {
    background-color: var(--primary-color);
    color: white;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.cap-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cap-item p {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Differentiators */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diff-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.diff-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Engagement Models */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.limit-width {
    max-width: 1000px;
    margin: 0 auto;
}

.engagement-card {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.engagement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.engagement-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.engagement-card .desc {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.engagement-card .details {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-lists {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }
}