/* Header Container */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    z-index: 999;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.5s ease;
    border-bottom: 1px solid #333333;
}

.header-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-container.hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Logo */
.header-logo {
    transition: all 0.2s ease;
    user-select: none;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo:hover {
    opacity: 0.8;
}

.header-logo-img {
    height: 24px;
    width: auto;
}

/* Header Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    opacity: 0.7;
}

.consultation-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #ffffff;
    background: #00CED1;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.consultation-btn:hover {
    background: #00B8D4;
    transform: translateY(-1px);
}

/* Main content initially hidden */
.main-content {
    opacity: 0;
    transition: opacity 0.5s ease;
    background: #000000;
    color: #ffffff;
    padding-top: 120px;
}

.main-content.visible {
    opacity: 1;
}

/* General Body and Container Styles */
html {
    background: #000000;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background: #000000;
    min-height: 100vh;
    font-weight: 400;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5em;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #ffffff;
    border-radius: 2px;
}

h3 {
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 30px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Paragraphs and Lists */
p {
    margin-bottom: 18px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #cccccc;
    font-weight: 400;
}

ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.95em;
    transition: all 0.2s ease;
    color: #cccccc;
    line-height: 1.5;
}

ul li:hover {
    color: #ffffff;
    transform: translateX(3px);
}

ul li::before {
    content: '●';
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    left: 0;
    top: 0.4em;
    font-size: 0.8em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: -0.01em;
    border: 2px solid transparent;
}

.primary-btn {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
}

.primary-btn:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
    transform: translateY(-1px);
}

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.secondary-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-1px);
}

/* Sections */
section {
    padding: 80px 0;
    margin-bottom: 0;
}

.hero-section {
    background: #000000;
    color: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #333333;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.hero-section .container {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 40px; /* Match header content padding */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3; /* Ensure content appears above video and overlay */
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 600;
    line-height: 1.1;
    text-align: left;
    margin: 0;
    max-width: 850px; /* Increased width to allow more horizontal space */
}

.dynamic-word {
    color: #00CED1;
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
    min-width: 280px; /* Increased width to accommodate "entrepreneurs" */
    text-align: left; /* Keep text aligned left within the fixed space */
}

.intro-text {
    color: #ffffff !important;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    line-height: 1.8;
    font-weight: 400;
}

.horizontal-line {
    width: 60px;
    height: 4px;
    background: #ffffff;
    margin: 0 auto 60px auto;
    border-radius: 2px;
}

.about-section, .engagement-section {
    background: #000000;
    padding: 100px 0;
}

.services-section {
    background: #000000;
    padding: 80px 0;
}

.targets-section {
    background: #111111;
    padding: 80px 0;
}

.fit-section {
    background: #000000;
    padding: 80px 0;
}

.why-otto-section {
    background: #111111;
    color: #ffffff;
    padding: 100px 0;
}

.why-otto-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.8;
}

.why-otto-content p {
    margin-bottom: 25px;
    color: #cccccc;
}

.steve-botz-link {
    color: #00CED1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.steve-botz-link:hover {
    color: #00B8D4;
    text-decoration: underline;
}

.why-otto-image {
    margin-top: 60px;
    text-align: center;
}

.steve-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.steve-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(255,255,255,0.15);
}

.image-caption {
    font-size: 0.9em;
    font-style: italic;
    color: #999999;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .steve-image {
        max-width: 300px;
    }
}

.srlsy-otto-section {
    background: #111111;
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid #333333;
}

.srlsy-otto-section h2 {
    color: #ffffff;
    margin-bottom: 40px;
}

.srlsy-otto-section h2::after {
    background: #00CED1;
}

.contact-section {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.contact-section h2 {
    color: #ffffff;
}

.contact-section h2::after {
    background: #ffffff;
}

/* Grid Layouts */
.approach-grid, .engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.approach-item, .engagement-item {
    background: #111111;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(255,255,255,0.05);
    text-align: left;
    transition: all 0.2s ease;
    border: 1px solid #333333;
    position: relative;
    display: flex;
    flex-direction: column;
}

.approach-header {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.approach-header h3 {
    color: #000000 !important;
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.1;
    border-bottom: none;
    padding-bottom: 0;
}

.section-consultation-button {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.section-consultation-button .consultation-button {
    background: #00CED1;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: -0.01em;
    border: 2px solid #00CED1;
}

.section-consultation-button .consultation-button:hover {
    background: #00B8D4;
    border-color: #00B8D4;
    transform: translateY(-1px);
}

.approach-item:hover, .engagement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.08);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-category {
    background: #111111;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(255,255,255,0.05);
    text-align: left;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #333333;
}

.service-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}

.service-category h3 {
    margin: 0;
    padding: 20px 30px;
    background: #ffffff;
    color: #000000;
    font-size: 1.3em;
    line-height: 1.2;
    font-weight: 600;
    border-bottom: 2px solid #00CED1;
}

.service-category ul {
    padding: 30px;
    margin: 0;
}

.strategic-section {
    margin-top: 60px;
}

.strategic-section h3 {
    background: #00CED1;
    color: #ffffff;
}

.services-divider {
    width: 100%;
    height: 2px;
    background: #333333;
    margin: 60px 0;
    border-radius: 1px;
}

.section-divider {
    width: 100%;
    height: 2px;
    background: #333333;
    margin: 0;
}

.why-otto-section {
    background: #111111;
    color: #ffffff;
    padding: 80px 0;
}

.why-otto-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8;
    font-weight: 400;
}

.why-otto-content p {
    margin-bottom: 25px;
    color: #cccccc;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px auto;
    font-size: 1.2em;
    color: #cccccc;
    line-height: 1.8;
    font-weight: 400;
}

.highlight-text {
    background: #111111;
    border-left: 4px solid #ffffff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
    color: #cccccc;
    font-style: italic;
    font-size: 1em;
}

.contact-note {
    font-size: 0.95em;
    color: #666666;
    margin-top: 25px;
}

.examples {
    font-size: 0.95em;
    color: #999999;
    margin-top: 20px;
    font-style: italic;
    padding: 15px;
    background: #111111;
    border-radius: 4px;
    border-left: 3px solid #333333;
}

/* Footer */
.footer {
    background: #000000;
    color: #666666;
    text-align: center;
    padding: 40px 0;
    font-size: 1em;
    margin-top: 0;
    border-top: 1px solid #333333;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-link:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .dynamic-word {
        min-width: 140px;
    }
    h2 {
        font-size: 2em;
    }
    .hero-section {
        padding: 100px 20px;
    }
    .hero-section .container {
        margin: 0 auto;
        padding-left: 20px; /* Match mobile header padding */
    }
    .container {
        padding: 20px;
    }
    .approach-grid, .engagement-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    section {
        padding: 60px 0;
    }
    .approach-item, .engagement-item {
        padding: 30px;
    }
    .btn {
        padding: 14px 28px;
        font-size: 1em;
    }
    .header-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .header-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-logo-img {
        height: 28px;
    }
    .logo-container.move-to-corner {
        transform: scale(0.5);
    }
}

/* Additional refinements */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #000000;
}

/* Focus states for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Selection styling */
::selection {
    background: #ffffff;
    color: #000000;
}

::-moz-selection {
    background: #ffffff;
    color: #000000;
}

/* Modal Styles */
.modal {
    display: none !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal[style*="block"] {
    display: block !important;
}

.modal-content {
    background-color: #111111;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #333333;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    color: #666666;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close:hover,
.close:focus {
    color: #ffffff;
}

.modal-content h2 {
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 30px 40px 20px 40px;
    font-size: 2em;
    border-bottom: 1px solid #333333;
}

.modal-content h2::after {
    display: none;
}

/* Contact Form Styles */
.contact-form {
    padding: 30px 40px 40px 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #333333;
    border-radius: 8px;
    background-color: #000000;
    color: #ffffff;
    font-size: 1em;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00CED1;
    box-shadow: 0 0 0 2px rgba(0, 206, 209, 0.2);
}

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

.form-group select {
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400 !important;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin-right: 12px;
    margin-bottom: 0;
    cursor: pointer;
    accent-color: #00CED1;
}

.checkbox-text {
    color: #ffffff;
    font-size: 1em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333333;
}

.submit-btn {
    background: #00CED1;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.submit-btn:hover {
    background: #00B8D4;
    transform: translateY(-1px);
}

.cancel-btn {
    background: transparent;
    color: #666666;
    border: 1px solid #333333;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.cancel-btn:hover {
    color: #ffffff;
    border-color: #666666;
}

/* Mobile responsiveness for modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }

    .modal-content h2 {
        padding: 25px 20px 15px 20px;
        font-size: 1.8em;
    }

    .contact-form {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .submit-btn,
    .cancel-btn {
        width: 100%;
        margin: 0;
    }
}

/* Srlsy Otto Content Page */
.srlsy-otto-content-section {
    background: #000000;
    color: #ffffff;
    padding: 80px 0;
    min-height: 70vh;
}

.srlsy-otto-content-section h1 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    font-size: 3.5em;
}

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

.srlsy-content > p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #cccccc;
}

.srlsy-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin: 60px 0;
    text-align: left;
}

.srlsy-point {
    background: #111111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #333333;
    transition: all 0.2s ease;
}

.srlsy-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 206, 209, 0.1);
}

.srlsy-point h3 {
    color: #00CED1;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.srlsy-point p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .srlsy-otto-content-section h1 {
        font-size: 2.5em;
    }

    .srlsy-points {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .srlsy-content {
        padding: 0 20px;
    }
}

.testimonial-section {
    background: #0a0a0a;
    color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-content blockquote {
    font-size: 1.2em;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    padding: 0;
    border: none;
    color: #cccccc;
}

.testimonial-content blockquote p {
    margin-bottom: 25px;
}

.testimonial-attribution {
    margin-top: 40px;
    font-size: 1.1em;
    color: #00CED1;
    font-weight: 600;
}

.testimonial-link {
    color: #00CED1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.testimonial-link:hover {
    color: #ffffff;
    text-decoration: underline;
}