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

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: #1a1f3a;
    color: white;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.nav-brand:hover {
    opacity: 0.9;
}

.logo-img {
    width: 48px;
    height: 48px;
    display: inline-block;
    margin-right: 0.5rem;
}

.logo-svg {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.brand-name {
    letter-spacing: 1px;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #f4b860;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: #b8860b;
    color: white;
}

.btn-primary:hover {
    background: #9a6f0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #1a1f3a;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3456 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Hero Page */
.hero-page {
    padding: 60px 0;
}

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

.hero-page p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Who We Work With Section */
.who-we-work {
    padding: 80px 0;
    background: #f9f7f4;
}

.who-we-work h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

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

.team-card {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.team-card h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.team-caption {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
}

/* Familiar Challenges Section */
.familiar-challenges {
    padding: 80px 0;
    background: white;
}

.familiar-challenges h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.challenges-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.challenges-list li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid #b8860b;
    background: #f9f7f4;
    font-size: 1rem;
}

.challenges-list li:before {
    content: "• ";
    color: #b8860b;
    font-weight: bold;
    margin-right: 0.5rem;
}

.challenges-close {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f9f7f4;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.what-we-do h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.service-full {
    background: white;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #b8860b;
}

.service-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #b8860b;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-full h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.service-tagline {
    font-size: 1.05rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-deliverables h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.service-deliverables ul {
    list-style: none;
}

.service-deliverables li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #666;
}

.service-deliverables li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: bold;
}

/* AI Phases */
.ai-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.ai-phase h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.ai-phase ul {
    list-style: none;
}

.ai-phase li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: #666;
}

.ai-phase li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b8860b;
}

.ai-difference {
    font-size: 0.95rem;
    color: #555;
    margin-top: 1rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 4px;
}

/* Strategy & Business Architecture Section */
.strategy-architecture {
    padding: 80px 0;
    background: white;
}

.strategy-architecture h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.strategy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.strategy-left, .strategy-right {
    padding: 2rem;
}

.strategy-left ul, .strategy-right ul {
    list-style: none;
}

.strategy-left li, .strategy-right li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.05rem;
}

.strategy-left li:before, .strategy-right li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: bold;
}

/* How We Work Section */
.how-we-work {
    padding: 80px 0;
    background: white;
}

.how-we-work h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.methodology-step {
    background: #f9f7f4;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.methodology-step .step-number {
    width: 50px;
    height: 50px;
    background: #b8860b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.methodology-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.methodology-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.methodology-micro {
    text-align: center;
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    font-style: italic;
}

/* Industry Expertise */
.industry-expertise {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.industry-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #b8860b;
}

.industry-item h4 {
    font-size: 1.2rem;
    color: #1a1f3a;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.industry-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: #f9f7f4;
}

.why-choose h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.choose-item {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #b8860b;
}

.choose-item h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #b8860b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.testimonial p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-author {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.about-text {
    text-align: center;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-principles {
    list-style: none;
    max-width: 500px;
    margin: 1.5rem auto;
    text-align: center;
}

.about-principles li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #666;
}

.about-principles li:before {
    content: "•";
    margin-right: 0.8rem;
    color: #b8860b;
    font-weight: bold;
}

.about-goal {
    text-align: center;
    font-size: 1.05rem;
    color: #333;
    max-width: 600px;
    margin: 2rem auto 0;
    font-weight: 600;
}

/* Methodology Section */
.methodology {
    padding: 80px 0;
    background: white;
}

.methodology h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.phase {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f9f7f4;
    border-radius: 8px;
    border-left: 4px solid #b8860b;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.phase-number {
    width: 60px;
    height: 60px;
    background: #b8860b;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.phase-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.phase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.phase-description h4,
.phase-deliverables h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.phase-description ul,
.phase-deliverables ul {
    list-style: none;
    font-size: 0.95rem;
}

.phase-description li,
.phase-deliverables li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.phase-description li:before,
.phase-deliverables li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #b8860b;
    font-weight: bold;
}

/* Engagement Model Section */
.engagement-model {
    padding: 80px 0;
    background: #f9f7f4;
}

.engagement-model h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.engagement-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.engagement-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.engagement-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.engagement-card ul {
    list-style: none;
    font-size: 0.95rem;
}

.engagement-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.engagement-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b8860b;
}

/* Why This Approach Section */
.why-approach {
    padding: 80px 0;
    background: white;
}

.why-approach h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.approach-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.reason {
    padding: 2rem;
    background: #f9f7f4;
    border-radius: 8px;
}

.reason h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.reason p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Start a Conversation Section */
.start-conversation {
    padding: 0;
    background: #f9f7f4;
}

.start-conversation h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.conversation-form {
    max-width: 600px;
    margin: 0 auto;
}

.conversation-form .btn-primary {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.show {
    display: block;
}

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

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

/* CTA Section */
.cta-section {
    background: #1a1f3a;
    color: white;
    padding: 40px 0;
    text-align: center;
}

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

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #0d0f1f;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .team-types {
        grid-template-columns: 1fr;
    }

    .methodology-steps {
        grid-template-columns: 1fr;
    }

    .choose-grid,
    .ai-phases,
    .industry-expertise {
        grid-template-columns: 1fr;
    }

    .strategy-content,
    .target-content {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #b8860b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    background: #9a6f0a;
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f7f4 0%, #ffffff 100%);
}

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

.intro-main {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1f3a;
    line-height: 1.8;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.intro-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #b8860b 0%, #d4a574 100%);
    margin: 0 auto 2.5rem;
    border-radius: 2px;
}

.intro-secondary {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-tertiary {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .intro-section {
        padding: 60px 0;
    }
    
    .intro-main {
        font-size: 1.25rem;
    }
    
    .intro-secondary {
        font-size: 0.95rem;
    }
    
    .intro-tertiary {
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 12px;
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    color: #b8860b;
}

.modal-form-container {
    margin-top: 0;
}

/* Style JotForm elements inside modal */
.modal-form-container iframe {
    max-height: 600px !important;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        width: 100%;
        padding: 2rem 1.5rem;
        max-height: 95vh;
        border-radius: 10px;
    }

    .modal-close {
        right: 1rem;
        top: 1rem;
        font-size: 1.8rem;
    }
}
