/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #1a3a52;
    --dark-navy: #0f2537;
    --light-blue: #4a7c9e;
    --green: #6b8e23;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #333333;
    --border-color: #d1d1d1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo img {
    height: 180px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: all 0.3s;
}

/* Hero Sections */
.hero-large {
    height: 600px;
    background-image: linear-gradient(135deg, rgba(26, 58, 82, 0.75) 0%, rgba(15, 37, 55, 0.65) 100%),
                      url('/images/hero-2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fallback if image not loaded */
.hero-large:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 50%, var(--light-blue) 100%);
}

.hero-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-large h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Metrics Section */
.metrics-section {
    background: var(--white);
    padding: 4rem 20px;
    border-bottom: 1px solid var(--border-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.metric-card {
    padding: 1rem;
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
}

.intro-section {
    background: var(--white);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.column-text h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.column-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

.highlight-box {
    background: var(--light-gray);
    padding: 2.5rem;
    border-left: 4px solid var(--green);
}

.highlight-box h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #555;
    line-height: 1.8;
}

/* Features Alternative Style */
.features-alt {
    padding: 80px 20px;
    background: var(--light-gray);
}

.features-alt h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.feature-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card-alt {
    background: var(--white);
    padding: 3rem 2rem;
    border-top: 3px solid var(--navy);
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 1rem;
}

.feature-card-alt h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card-alt p {
    color: #555;
    line-height: 1.8;
}

/* Strategy Section */
.strategy-preview {
    background: var(--white);
}

.strategy-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 3rem;
    font-weight: 700;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.strategy-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-left: 4px solid var(--green);
}

.strategy-card h3 {
    color: var(--navy);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.strategy-card p {
    color: #555;
    line-height: 1.8;
}

/* Quote Section */
.quote-section {
    padding: 80px 20px;
    background: var(--navy);
    color: var(--white);
}

.featured-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.featured-quote p {
    font-size: 1.8rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.featured-quote cite {
    font-size: 1.1rem;
    font-style: normal;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background: #5a7a1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: var(--dark-navy);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-col p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-gray);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--green);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Content Boxes */
.content-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.content-box h2 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-box h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-box p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.content-box ul {
    line-height: 2;
    color: #555;
}

/* Page Headers */
.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin: 3rem 0;
}

.stat-item {
    padding: 2rem 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        height: 80px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.1);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-large {
        height: 500px;
        margin-top: 0;
    }

    .hero-large h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .metrics-grid,
    .feature-grid-three,
    .strategy-grid {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .featured-quote p {
        font-size: 1.3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* HRP Index Section */
.hrp-index-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
}

.hrp-index-header {
    text-align: center;
    margin-bottom: 3rem;
}

.hrp-index-header h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hrp-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 300;
}

.hrp-index-display {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.hrp-gauge-container {
    text-align: center;
}

.hrp-gauge {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 2rem;
}

.gauge-svg {
    width: 100%;
    height: auto;
}

.gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: -10px;
    font-size: 0.9rem;
    color: #666;
}

.hrp-score {
    margin-top: 1rem;
}

.hrp-score-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
}

.hrp-score-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hrp-sentiment {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: inline-block;
}

.hrp-sentiment.favorable {
    background: #d1fae5;
    color: #065f46;
}

.hrp-sentiment.neutral {
    background: #fef3c7;
    color: #92400e;
}

.hrp-sentiment.challenging {
    background: #fee2e2;
    color: #991b1b;
}

.hrp-month {
    font-size: 0.9rem;
    color: #999;
    margin-top: 0.5rem;
}

.hrp-categories h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hrp-category-item {
    margin-bottom: 1.5rem;
}

.category-name {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.category-bar {
    position: relative;
    height: 30px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.category-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--light-blue), var(--green));
    transition: width 1s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.category-score {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.category-weight {
    font-size: 0.8rem;
    color: #999;
    font-style: italic;
}

.hrp-methodology {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--navy);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hrp-methodology h4 {
    color: var(--navy);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hrp-methodology p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hrp-methodology p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .hrp-index-display {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hrp-gauge {
        max-width: 250px;
    }

    .hrp-score-value {
        font-size: 3rem;
    }
}

/* HRP Trend Section */
.hrp-trend-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--medium-gray);
}

.hrp-trend-section h3 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.trend-arrow {
    font-size: 1.5rem;
    font-weight: bold;
}

.trend-arrow.improving {
    color: #10b981;
}

.trend-arrow.declining {
    color: #ef4444;
}

.trend-arrow.stable {
    color: #f59e0b;
}

.trend-text {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trend-text.improving {
    color: #10b981;
}

.trend-text.declining {
    color: #ef4444;
}

.trend-text.stable {
    color: #f59e0b;
}

.hrp-trend-chart {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--medium-gray);
}

.hrp-trend-chart svg {
    width: 100%;
    height: auto;
}

#trend-chart {
    min-height: 200px;
}

/* Responsive trend */
@media (max-width: 768px) {
    .hrp-trend-chart {
        padding: 1rem;
    }
    
    #trend-chart {
        min-height: 150px;
    }
}

/* HRP Index Hero Badge */
.hrp-hero-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    margin-top: 3rem;
    display: inline-block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid #6b8e23;
}

.badge-label {
    font-size: 0.9rem;
    color: #1a3a52;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.badge-score-container {
    text-align: center;
    margin-bottom: 0.5rem;
}

.badge-score {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a3a52;
    line-height: 1;
}

.badge-score-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.badge-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding-top: 0.5rem;
    border-top: 2px solid #e5e7eb;
}

.trend-arrow-hero {
    font-size: 1.5rem;
}

.trend-arrow-hero.improving {
    color: #10b981;
}

.trend-arrow-hero.declining {
    color: #ef4444;
}

.trend-arrow-hero.stable {
    color: #f59e0b;
}

/* Responsive hero badge */
@media (max-width: 768px) {
    .hrp-hero-badge {
        padding: 1rem 1.5rem;
    }
    
    .badge-score {
        font-size: 2.5rem;
    }
    
    .badge-label {
        font-size: 0.8rem;
    }
}
