:root {
    --primary-color: #800000;
    /* Rich Maroon */
    --primary-dark: #4d0000;
    --primary-light: #a31a1a;
    --accent-color: #800000;
    /* Unified Red/Maroon */

    --black: #050505;
    --dark-grey: #121212;
    --medium-grey: #2a2a2a;
    --light-grey: #d9d9d9;
    /* Darker Gray for sections */
    --white: #ffffff;

    --text-main: #1a1a1a;
    --text-inverse: #f4f4f4;
    --text-muted: #666666;
    --text-muted-inverse: #aaaaaa;

    /* Gradients - Neutralized to Solid or darker grays where requested */
    --gradient-hero: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f2f2f2 100%);
    --gradient-dark: linear-gradient(135deg, #2b0000 0%, #050505 100%);
    --gradient-maroon: linear-gradient(135deg, #4d0000 0%, #1a0000 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Force Philosophy Section to be Darker Gray */
#philosophy {
    background: #e0e0e0 !important;
    /* Darker Gray */
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: #0f0f0f;
    /* Dark Background as requested */
    color: var(--white);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    /* Visible */
}

/* Philosophy Section - White with Particles */
#philosophy {
    position: relative;
    background: #ffffff !important;
    overflow: hidden;
}

#philosophy canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
}

#philosophy .container {
    position: relative;
    z-index: 1;
}

/* Removed dark overlay or made it very subtle white/transparent */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(128, 0, 0, 0.1), transparent 60%);
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: var(--primary-color);
    /* Maroon */
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.breadcrumbs a {
    color: var(--primary-color);
    opacity: 0.8;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumbs span.current {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-content {
    max-width: 900px;
}

.hero-eyebrow {
    font-size: 1rem;
    color: var(--primary-color);
    /* Maroon */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #ffffff !important;
    /* White Title */
}

.text-gradient {
    /* Removed gradient */
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: initial;
    color: inherit;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    /* Darker for white bg */
    margin-bottom: 2.5rem;
    max-width: 650px;
    font-weight: 300;
}

/* Sections General */
.section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-light);
    color: var(--text-main);
}

/* Alternating Section Colors */
.section:nth-child(even) {
    background: var(--gradient-dark);
    color: var(--text-inverse);
}

.section:nth-child(even) h2,
.section:nth-child(even) h3,
.section:nth-child(even) h4 {
    color: var(--white);
}

.section:nth-child(even) p {
    color: var(--text-inverse);
    opacity: 0.9;
}

.section:nth-child(even) .section-eyebrow {
    color: var(--accent-color);
}

.section:nth-child(even) .text-light {
    color: rgba(255, 255, 255, 0.7);
}

.section-eyebrow {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
    font-weight: 700;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.section:nth-child(even) .section-header p {
    color: var(--text-muted-inverse);
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.split-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.section:nth-child(even) .split-content p {
    color: var(--text-inverse);
    opacity: 0.9;
}

.image-placeholder,
.split-image img {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Service Card modifications for Centering/Squaring */
.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* CENTERING MODS */
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 350px;
    aspect-ratio: 1/1;
    color: var(--text-main);
}

/* Ensure cards look good on dark sections */
.section:nth-child(even) .service-card {
    background: rgba(255, 255, 255, 0.05);
    /* Glassmorphism for dark sections */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.section:nth-child(even) .service-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.icon-box {
    width: 70px;
    /* Slightly larger for square cards */
    height: 70px;
    background: rgba(128, 0, 0, 0.1);
    border-radius: 50%;
    /* Rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.section:nth-child(even) .icon-box {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.section:nth-child(even) .service-card h3 {
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 0;
    /* Let centering handle spacing */
    max-width: 90%;
}

.section:nth-child(even) .service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Service Card Hover Animations */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(128, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover h3 {
    color: var(--accent-color);
}

.section:nth-child(even) .service-card:hover h3 {
    color: var(--accent-color);
}

.card-link {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    position: relative;
}

.section:nth-child(even) .card-link {
    color: var(--accent-color);
}

.card-link:hover {
    text-decoration: underline;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    width: 100%;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.section:nth-child(even) .feature-list li {
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

.section:nth-child(even) .feature-list li::before {
    color: var(--accent-color);
}

/* Difference Section handled by general section alternating styles */

.difference-content {
    text-align: center;
}

.difference-content h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.difference-grid {
    text-align: left;
}

.diff-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) .diff-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.diff-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.section:nth-child(even) .diff-number {
    color: rgba(255, 255, 255, 0.05);
}

.diff-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.section:nth-child(even) .diff-item h3 {
    color: var(--white);
}

.diff-item p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.section:nth-child(even) .diff-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact CTA */
.contact-cta {
    padding: var(--spacing-xl) 0;
}

.cta-box {
    background: var(--gradient-accent);
    color: white;
    padding: 5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-box .btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #000000;
    color: #fff;
    padding: 5rem 0 2rem;
    border-top: 1px solid #222;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: #888;
}

.footer-links-group {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: #888;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    color: #555;
    font-size: 0.9rem;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-main);
}

.section:nth-child(even) .form-group label {
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--text-main);
}

.section:nth-child(even) .form-group input,
.section:nth-child(even) .form-group textarea {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 0, 0, 0.1);
}

.contact-info-box .info-item {
    margin-bottom: 2rem;
}

.contact-info-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section:nth-child(even) .contact-info-box h3 {
    color: var(--accent-color);
}

/* Timeline Styles (Copilot Academy) */
.timeline-section {
    background: var(--gradient-light);
    padding: 6rem 0;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    border-left: 2px solid var(--primary-color);
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-week {
    font-weight: 700;
    color: var(--primary-color);
    min-width: 100px;
    font-family: var(--font-heading);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}