/* --- Variables & Reset --- */
:root {
    --primary-color: #1a3c5a;   /* Deep Slate Blue - Trust, Medical */
    --accent-color: #c5a059;    /* Muted Gold - Class/Premium */
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    --font-heading: 'Cormorant Garamond', serif; /* Classy, editorial feel */
    --font-body: 'Manrope', sans-serif;          /* Clean, modern, legible */
    
    --spacing-container: 1200px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
}

h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 2.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1.5rem; color: var(--text-light); }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-logo {
    height: 50px; /* Adjust based on your actual logo */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-contact {
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: white;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%); /* Placeholder for hero image */
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.badge-logo {
    height: 20px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #122a40;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: white;
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    max-width: 600px;
    margin: 0 auto;
}

.line {
    height: 1px;
    background-color: #ddd;
    flex: 1;
}

.divider-logo-wrapper {
    padding: 0 2rem;
}

.divider-logo {
    height: 40px;
    opacity: 0.8;
}

/* --- Innovations Grid --- */
.innovations {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border: 1px solid #eee;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-image {
    height: 250px;
    background-color: #e0e0e0; /* Placeholder color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.card-content {
    padding: 2rem;
}

.text-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- Mission Split Layout --- */
.mission {
    padding: 6rem 0;
    background-color: white;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mini-logo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.mini-logo {
    height: 16px;
}

.check-list {
    list-style: none;
    margin-top: 2rem;
}

.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.check-list li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1rem;
}

.mission-image {
    height: 500px;
    background-color: #1a3c5a; /* Placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1); /* Turns logo white if it's black/color */
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #a0aec0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* --- Animation Classes --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    
    .nav-links { display: none; } /* Simplified mobile handling */
    .mobile-toggle { display: block; cursor: pointer; }
    .mobile-toggle span { 
        display: block; width: 25px; height: 3px; background: var(--primary-color); margin: 5px 0; 
    }
    
    .split-layout, .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- CONTACT PAGE STYLES --- */

/* Page Header (Distinct from Hero) */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 8rem 0 4rem 0; /* Top padding accounts for fixed nav */
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Grid Layout */
.contact-section {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info is smaller, Form is wider */
    gap: 4rem;
}

/* Left Column: Info */
.contact-info {
    padding-right: 2rem;
    border-right: 1px solid #eee;
    position: relative;
}

.info-block {
    margin-bottom: 3rem;
}

.info-block h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-logo-mark {
    margin-top: 4rem;
    opacity: 0.1;
}

.faded-logo {
    width: 150px;
    filter: grayscale(100%);
}

/* Right Column: Form */
.clean-form {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-block {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Mobile Adjustments for Contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 2rem;
        padding-right: 0;
    }
}


/* --- COMPANY PAGES EXPANSION --- */

/* About: Vertical Timeline */
.timeline-section {
    position: relative;
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    border-left: 2px solid var(--accent-color);
    padding-left: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px; /* Center on line */
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Careers: Job Board */
.job-board {
    display: grid;
    gap: 1.5rem;
}

.job-card {
    background: white;
    border: 1px solid #eee;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.job-card:hover {
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.job-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.job-meta {
    font-size: 0.9rem;
    color: #888;
}

/* Press: News Feed */
.news-feed {
    display: grid;
    gap: 3rem;
}

.news-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.news-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid var(--accent-color);
}

/* --- DROPDOWN MENU STYLES --- */

/* Parent styling */
.nav-links li {
    position: relative; /* Anchors the dropdown to this item */
    padding: 1rem 0; /* Increases hover target area */
}

/* The Submenu (Hidden by default) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1rem; /* Aligns slightly left of the parent */
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    list-style: none;
    
    /* Animation setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Show Submenu on Hover */
.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu Links styling */
.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap; /* Prevents text wrapping */
    transition: background 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent-color);
}

/* Mobile Adjustments for Dropdown */
@media (max-width: 768px) {
    .nav-links li:hover .dropdown-menu {
        /* On mobile, we don't want hover effects messing with layout usually, 
           but for this simple version, we will make it static so it just lists items. */
    }