/* MOBILE-FIRST BASE STYLES (0-599px) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 125px; /* Mobile base - 3-row vertical layout */
}

body {
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: 
        "header"
        "main"
        "footer";
}

/* Typography Hierarchy System with 800px Width Constraint */
h1, h2, h3, h4, p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003D83;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #003D83;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #003D83;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003D83;
    line-height: 1.4;
    margin-bottom: var(--space-xs);
}

/* Mathematical Spacing System (8px Grid) */
:root {
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
}

/* Header - Mobile 3-Row Layout */
.header {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.8rem 0;
    gap: 0.8rem;
    transition: box-shadow 0.3s ease, backdrop-filter 0.3s ease;
    backdrop-filter: blur(10px);
}

.header.scrolled {
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #004394 0%, #002f5a 100%);
}

main {
    grid-area: main;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
}

/* Header Container - Mobile 3-Row */
.header-container {
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr;
    grid-template-areas:
        "logo"
        "nav"
        "login";
    gap: 0.8rem;
    padding: 0 1rem;
    width: 100%;
}

.logo {
    grid-area: logo;
    justify-self: center;
}

.nav-menu {
    grid-area: nav;
    justify-self: center;
    width: 100%;
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
}

.nav-menu a:hover {
    color: #FFD700;
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    padding: var(--spacing-xs, 0.25rem);
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
    grid-area: nav;
    justify-self: center;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle svg {
    display: block;
}

/* Hide mobile login on desktop */
.mobile-login {
    display: none;
}

.header-actions {
    grid-area: login;
    justify-self: center;
    display: block;
}

.login-button {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 6px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.login-button:hover {
    background: white;
    color: #003D83;
}

/* Authority Section */
.authority-section {
    background: white;
    padding: 1rem 0 2rem 0;
}

.authority-content {
    padding: 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
}

.authority-photo {
    text-align: center;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #003D83;
    margin: 0.75rem 0 0 0;
}

.authority-social {
    text-align: center;
}

.authority-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Image - Rectangular with Rounded Corners */
.profile-image {
    width: 150px;
    height: 200px;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid #003D83;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 61, 131, 0.3);
}

/* Social Media Buttons - Icon Only */
.authority-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-button.linkedin,
.social-button.email {
    background: #6c757d;
    color: white;
}

.social-button.linkedin:hover,
.social-button.email:hover {
    background: #5a6268;
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.social-icon {
    font-weight: 700;
    font-size: 1.2rem;
    color: inherit;
}

.authority-statement {
    text-align: center;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
    border-left: 4px solid #003D83;
}

.authority-statement br {
    line-height: 2.8;
    display: block;
    margin-bottom: 0.6rem;
}

/* Abstand zwischen aufeinanderfolgenden authority-statement Boxen */
.authority-statement + .authority-statement {
    margin-top: 2rem;
}

/* Blog Reference Styling */
.blog-reference {
    text-align: center;
    margin: 1.5rem auto 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    max-width: 600px;
    font-style: italic;
}

.blog-link {
    color: #003D83;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Insider Insight Styling */
.insider-insight {
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    color: white;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
}

.insider-insight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.insider-insight strong {
    color: #FFD700;
}

/* Grey Insight Styling */
.grey-insight {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.grey-insight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.grey-insight strong {
    color: #003D83;
}

/* Blog Insight Styling */
.blog-insight {
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    color: white;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 15px;
    text-align: center;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
}

.blog-insight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.blog-insight .blog-link {
    color: #FFD700;
    text-decoration: underline;
}

/* Hero Section - Mobile */
.hero {
    background: white;
    color: #333;
    padding: 40px 0 30px 0;
    display: grid;
    justify-items: center;
    text-align: center;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 100%;
    max-width: min(1200px, calc(100vw - 2rem));
    padding: 0 1rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.375rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-action-text {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.hero-cta-container {
    margin-top: 1.5rem;
}

.hero-benefit-text {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.cta-button {
    background: linear-gradient(45deg, #FF6B35, #FFA500);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Inter', Arial, sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Section Layout - Mobile */
.section {
    display: grid;
    justify-items: center;
    padding: 3rem 0;
    width: 100%;
}

.container {
    width: 100%;
    max-width: min(900px, calc(100vw - 2rem));
    display: grid;
    gap: 2rem;
    justify-items: center;
    padding: 0 0.5rem;
    margin: 0 auto;
}

.section h2 {
    color: #003D83;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

/* Problem Section - Mobile */
.problem-section {
    background: white;
    display: grid;
    justify-items: center;
    padding: 2rem 0 3rem 0;
    width: 100%;
}

.problem-section h2 {
    color: #003D83;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
}






.problem-subtitle {
    color: #003D83;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Problem Grid - Mobile Single Column */
.problem-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* Other Grids - Mobile Single Column */
.problem-failures-grid,
.partnerships-grid,
.barriers-grid,
.approach-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
    width: 100%;
    max-width: calc(100vw - 2rem);
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
}

/* Card Styles */
.problem-card,
.excellence-card,
.partner-card,
.barrier-card,
.approach-step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.15);
    border-left: 4px solid #003D83;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.excellence-card,
.partner-card {
    max-width: 800px;
    margin: 0 auto;
}


.problem-card:hover,
.excellence-card:hover,
.partner-card:hover,
.barrier-card:hover,
.approach-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 61, 131, 0.25);
}

.problem-card h4,
.excellence-card h3,
.barrier-card h4,
.approach-step h4 {
    color: #003D83;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.excellence-card .number {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Solution Approach Section */
.solution-approach {
    margin: 1rem auto 1rem auto;
    text-align: center;
    max-width: 800px;
}

.approach-text {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2.5rem;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Customer Reality Bridge Section */
.customer-voice-section,
.scorecard-validation-section {
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    color: white;
    padding: 3rem 2rem;
    margin: 1rem auto;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.3);
    max-width: 800px;
    width: 100%;
}

.voice-subtitle {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.customer-quotes {
    margin: 2rem auto;
    max-width: 700px;
}

.customer-quote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    padding: 2rem 0;
    position: relative;
    color: white;
}

.customer-quote::before {
    content: '"';
    font-size: 4rem;
    color: #FFD700;
    position: absolute;
    top: -0.5rem;
    left: -1rem;
    font-family: Georgia, serif;
}

.customer-quote footer {
    font-size: 1rem;
    font-style: normal;
    color: #FFD700;
    margin-top: 1.5rem;
    font-weight: 500;
}

.development-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pilot Insights Section */
.pilot-insights,
.scorecard-insights {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem 2rem;
    margin: 2rem auto;
    border-radius: 12px;
    border-left: 6px solid #003D83;
    box-shadow: 0 4px 15px rgba(0, 61, 131, 0.1);
    max-width: 800px;
    width: 100%;
}

.insights-title {
    color: #003D83;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: left;
}

.insight-preview {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #FFD700;
}

.insight-text {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.insight-link {
    color: #003D83;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.insight-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.insight-link.insight-cta {
    background: linear-gradient(45deg, #FF6B35, #FFA500);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-link.insight-cta:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Budget Animation - Mobile 3-Row Stack */
.budget-explanation {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.budget-year-display {
    text-align: center;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.budget-year {
    position: relative;
    width: 100%;
    height: 80px;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #003D83;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.1;
    font-size: 1.8rem;
    font-weight: 700;
}

.budget-year-number {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.budget-year-separator {
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 0.1rem;
}

.budget-year-text {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.1;
}

.budget-imbalance {
    position: relative;
    height: 830px;
    width: 100%;
    margin-bottom: 3rem;
    overflow: hidden;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.budget-tile {
    position: absolute;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.budget-percentage {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.budget-tile h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.budget-tile p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Mobile Budget Tiles */
.budget-admin {
    top: 0;
    left: 0;
    right: 0;
    height: 141px;
    background: #e6c200;
    color: white;
    animation: adminEvolution 15s infinite, adminPositionMobile 15s infinite;
}

.budget-admin h4,
.budget-admin p {
    color: white;
}

.budget-required {
    bottom: 166px;
    left: 0;
    right: 0;
    width: 100%;
    height: 415px;
    background: #6c757d;
    color: white;
    animation: requiredEvolution 15s infinite, requiredPositionMobile 15s infinite;
}

.budget-required h4,
.budget-required p {
    color: white;
}

.budget-optional {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 166px;
    background: #003D83;
    color: white;
    animation: optionalEvolution 15s infinite, optionalPositionMobile 15s infinite;
}

.budget-optional h4,
.budget-optional p {
    color: white;
}

/* Statistics Section */
.stats-section {
    background: white;
    color: #333;
    display: grid;
    justify-items: center;
    padding: 3rem 0;
}

.stats-section h2 {
    color: #003D83;
    margin-bottom: 3rem;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: white;
    opacity: 0.9;
}

/* Partnerships */
.partnerships {
    background: white;
}

.partner-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
        "logo"
        "info" 
        "spacer"
        "details";
    min-height: 450px;
    text-align: center;
}

.partner-card-application {
    border-left-color: #003D83;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.partner-logo {
    grid-area: logo;
    margin-bottom: 1.5rem;
}

.partner-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.partner-logo-application {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFD700;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.partner-info {
    grid-area: info;
}

.partner-spacer {
    grid-area: spacer;
}

.partner-info h3 {
    color: #003D83;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.partner-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.partner-details {
    grid-area: details;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.partner-contact-label {
    color: #003D83;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.partner-contact-item {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.partner-contact-item a {
    color: #003D83;
    text-decoration: none;
    transition: color 0.3s ease;
}

.partner-contact-item a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: white;
    color: #333;
    display: grid;
    justify-items: center;
    padding: 3rem 0;
    width: 100%;
}

.contact h2 {
    color: #003D83;
    margin-bottom: 2rem;
}

.contact-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: calc(100vw - 2rem);
    display: grid;
    gap: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 61, 131, 0.2);
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Inter', Arial, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    background: linear-gradient(45deg, #FF6B35, #FFA500);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-family: 'Inter', Arial, sans-serif;
}

.contact-form button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    grid-area: footer;
    background: #001a3d;
    color: white;
    padding: 2rem;
    display: grid;
    justify-items: center;
    align-items: center;
    min-height: 80px;
}

.footer p {
    margin: 0;
    padding: 0;
    color: white;
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Problem CTA */
.problem-cta-container {
    text-align: center;
    margin-top: 2rem;
}

.problem-cta-text {
    text-align: center;
    font-size: 1.1rem;
    color: #003D83;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Scroll Effects */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Budget Animations */
@keyframes adminEvolution {
    0%, 20% { background: #e6c200; }
    30% { background: #d4b000; }
    40%, 60% { background: #b8a000; }
    70% { background: #d4b000; }
    80%, 93% { background: #FFD700; }
    100% { background: #e6c200; }
}

@keyframes requiredEvolution {
    0%, 20% { background: #6c757d; }
    30% { background: #636a71; }
    40%, 60% { background: #5a6268; }
    70% { background: #636a71; }
    80%, 93% { background: #6c757d; }
    100% { background: #6c757d; }
}

@keyframes optionalEvolution {
    0%, 20% { background: #0056b3; }
    30% { background: #0048a3; }
    40%, 60% { background: #003a93; }
    70% { background: #0048a3; }
    80%, 93% { background: #003D83; }
    100% { background: #0056b3; }
}

@keyframes adminPositionMobile {
    0%, 20% { height: 249px; }
    30% { height: 330px; }
    40%, 60% { height: 415px; }
    70% { height: 282px; }
    80%, 93% { height: 207px; }
    100% { height: 249px; }
}

@keyframes requiredPositionMobile {
    0%, 20% { bottom: 166px; height: 415px; }
    30% { bottom: 148px; height: 354px; }
    40%, 60% { bottom: 130px; height: 285px; }
    70% { bottom: 186px; height: 384px; }
    80%, 93% { bottom: 208px; height: 415px; }
    100% { bottom: 166px; height: 415px; }
}

@keyframes optionalPositionMobile {
    0%, 20% { bottom: 0; height: 166px; }
    30% { bottom: 0; height: 148px; }
    40%, 60% { bottom: 0; height: 130px; }
    70% { bottom: 0; height: 186px; }
    80%, 93% { bottom: 0; height: 208px; }
    100% { bottom: 0; height: 166px; }
}

/* ============================================
 * BREAKPOINT 1: SMALL TABLET (600px+)
 * ============================================ */
/* ============================================
 * MOBILE HAMBURGER MENU (< 600px)
 * ============================================ */
@media (max-width: 599px) {
    /* Show hamburger, hide navigation and desktop login */
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #003D83 0%, #002a5c 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        z-index: 999;
    }
    
    .nav-menu.open {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        margin: 0;
        list-style: none;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .mobile-login {
        display: block;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #FFD700;
    }
    
    /* Special styling for mobile login button */
    .mobile-login a {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        margin: 0.5rem 1rem;
        font-weight: 500;
    }
    
    .mobile-login a:hover {
        background: rgba(255, 215, 0, 0.2);
        border-color: #FFD700;
        color: #FFD700;
    }
    
    /* Header container adjustments */
    .header-container {
        position: relative;
        grid-template-areas:
            "logo"
            "nav";
    }
}

@media (min-width: 600px) {
    /* Fix header layout for desktop/tablet */
    .header-container {
        grid-template-areas:
            "logo"
            "nav"
            "login";
    }
    
    
    /* Typography Hierarchy - Enhanced */
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }

    /* Authority Section - Enhanced */
    .authority-content {
        padding: 2.5rem 1.5rem;
    }
    
    .authority-statement {
        padding: 2rem 2.5rem;
        max-width: 700px;
    }

    .profile-image {
        width: 180px;
        height: 240px;
    }


    /* Just minor typography improvements */
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        gap: 1.2rem;
    }
    
    .header-container {
        padding: 0 1.5rem;
    }
    
    /* Contact Form - Medium screens responsive width */
    .contact-form {
        max-width: min(800px, calc(100vw - 4rem));
    }
    
    /* Hero h1 - 600px+ */
    .hero h1 {
        font-size: 3.2rem; /* 3rem × 0.95 */
    }

    /* Customer Voice & Pilot Insights - 600px+ */
    .customer-voice-section,
    .scorecard-validation-section,
    .pilot-insights,
    .scorecard-insights {
        max-width: 800px;
    }
}

/* ============================================
 * BREAKPOINT 2: DESKTOP (900px+)
 * ============================================ */
@media (min-width: 900px) {
    /* Typography Hierarchy - Desktop */
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    h4 {
        font-size: 1.3rem;
    }

    /* Authority Section - Desktop */
    .authority-content {
        padding: 3rem 2rem;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem 3rem;
    }

    .authority-photo {
        grid-column: 1;
        grid-row: 1;
    }

    .authority-social {
        grid-column: 1;
        grid-row: 2;
    }

    .authority-text {
        grid-column: 2;
        grid-row: 1 / 3; /* Span both rows */
        text-align: left;
        display: grid;
        align-items: center;
    }
    
    .authority-statement {
        padding: 2.5rem 3rem;
        max-width: 900px;
        height: 100%;
        display: grid;
        align-items: center;
    }

    .profile-image {
        width: 200px;
        height: 260px;
    }

    .social-button {
        width: 52px;
        height: 52px;
    }
    
    .social-icon {
        font-size: 1.3rem;
    }



    .header-container {
        grid-template-columns: 1fr auto 1fr;  /* Space | Nav | Space */
        grid-template-rows: auto;              /* Single row */
        grid-template-areas:
            "desktop-logo desktop-nav desktop-login";
        gap: 3rem;                             /* Larger gaps between sections */
        padding: 0 2rem;
        align-items: center;
    }
    
    .logo {
        grid-area: desktop-logo;
        justify-self: start;
        font-size: 1.4rem;
        white-space: nowrap;          /* Force single line */
        min-width: max-content;       /* Take minimum space needed */
    }
    
    .nav-menu {
        grid-area: desktop-nav;
        justify-self: center;
    }
    
    .nav-menu ul {
        gap: 1.5rem;                           /* Comfortable spacing between nav items */
    }
    
    .header-actions {
        grid-area: desktop-login;
        justify-self: end;
    }
    
    
    /* Problem Grid - Desktop 2-Column Layout */
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto 3rem auto;
    }

    /* Barriers Grid - Desktop 2x2 Layout */
    .barriers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto 3rem auto;
    }

    /* Approach Steps - Desktop 3-Column Layout */
    .approach-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto 3rem auto;
    }

    /* Enhanced product section layout */
    .excellence-grid {
        grid-template-columns: repeat(3, 1fr);  /* Always 3 columns */
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .excellence-card {
        padding: 2.5rem;
    }
    
    .excellence-card .number {
        font-size: 3rem;
    }
    
    /* Enhanced statistics section layout */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);  /* All 4 stats in one row */
        gap: 3rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 3.5rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-item p {
        font-size: 1.2rem;
    }
    
    /* Contact Form - Large screens fixed max-width */
    .contact-form {
        max-width: 800px;
    }
    
    /* Hero h1 - 900px+ */
    .hero h1 {
        font-size: 3.2rem; /* 3.5rem × 0.95 */
    }

    /* Customer Reality Bridge - Desktop */
    .customer-voice-section,
    .scorecard-validation-section {
        padding: 4rem 3rem;
        margin: 1rem auto;
        max-width: 800px;
    }

    .voice-subtitle {
        font-size: 2rem;
    }

    .customer-quote {
        font-size: 1.5rem;
        padding: 3rem 2rem;
    }

    .customer-quote::before {
        font-size: 5rem;
        left: -2rem;
    }

    /* Pilot Insights - Desktop */
    .pilot-insights,
    .scorecard-insights {
        padding: 3rem;
        margin: 1rem auto;
        max-width: 800px;
    }

    .insights-title {
        font-size: 1.8rem;
    }

    .insight-preview {
        padding: 2.5rem;
    }

    .insight-text {
        font-size: 1.2rem;
    }
}

