/* OrionNexus Complete CSS - Fixed Version */

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

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e40af;
    --light-blue: #3b82f6;
    --orange: #f97316;
    --purple: #8b5cf6;
    --cyan: #06b6d4;
    --text-dark: #111827;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-900: #111827;
    --white: #ffffff;
    --max-width: 1400px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-medium);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === Skip Link === */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* === Container - WIDE LAYOUT === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* === Header === */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav {
    display: flex;
    gap: 2rem;
}

.desktop-nav a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--text-dark);
}

/* === Hero Section (Homepage) === */
.hero {
    padding: 80px 0;
    text-align: center;
    background: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

/* === Page Header === */
.page-header {
    padding: 60px 0;
    text-align: center;
    background: var(--white);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* === Content Sections - WIDE LAYOUT === */
.content-section {
    padding: 80px 0;
    width: 100%;
}

.content-section.bg-light {
    background: var(--gray-50);
}

.content-grid {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-block {
    text-align: center;
    margin-bottom: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-block h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto 1rem auto;
}

/* === ABOUT PAGE - CHALLENGES GRID (WIDE 2x2) === */
.challenges-section {
    width: 100%;
    max-width: none;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.challenge-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.challenge-item:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
}

.challenge-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.problem, .solution {
    margin-bottom: 1rem;
    text-align: left;
}

.problem strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #dc2626;
}

.solution strong {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #16a34a;
}

/* === CEO SECTION - IMAGE LEFT, TEXT RIGHT === */
.ceo-section {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.ceo-image {
    width: 280px;
    flex-shrink: 0;
}

.ceo-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    max-height: 350px;
}

.ceo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ceo-text h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 0;
}

.ceo-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
}

.ceo-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* === CONSULTING SERVICES GRID === */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.consulting-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.consulting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.consulting-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.consulting-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.consulting-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid var(--gray-200);
}

.consulting-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.consulting-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* === APPROACH SECTION WITH IMAGE === */
.approach-section {
    padding: 80px 0;
    background: var(--white);
}

.approach-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.approach-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.approach-text p {
    text-align: left;
    margin-bottom: 2rem;
}

.approach-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-height: 500px;
}

/* === APPROACH STEPS === */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.approach-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    text-align: left;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    border: 2px solid var(--gray-200);
    font-size: 1.1rem;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    margin: 0;
    color: var(--text-medium);
    line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin: 80px auto;
    max-width: 900px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.125rem;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary-blue);
    padding: 12px 30px;
    font-size: 1rem;
}

/* === Cards Grid === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === Consulting Page - Offerings Grid === */
.offerings-grid,
.offering-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.offering-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.offering-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* === Industries Page === */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.industry-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* === Contact Page === */
.form-section,
.form-container {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--gray-200);
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* === Icon Colors === */
.icon-bg-blue { background: var(--light-blue); }
.icon-bg-cyan { background: var(--cyan); }
.icon-bg-orange { background: var(--orange); }
.icon-bg-purple { background: var(--purple); }

/* === Footer === */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-cta h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.footer-info p,
.footer-cta p {
    color: var(--gray-300);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-address {
    color: var(--gray-300);
    font-style: normal;
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.footer-socials a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

/* === Mobile Menu === */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    color: var(--text-dark);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 15px 24px;
    color: var(--text-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--gray-100);
    font-weight: 500;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--gray-50);
    color: var(--primary-blue);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .offerings-grid,
    .offering-grid {
        grid-template-columns: 1fr;
    }
    
    .consulting-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approach-text h2,
    .approach-text p {
        text-align: center;
    }
    
    .industry-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .ceo-section {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .desktop-nav {
        display: none;
    }
    
    .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Sections */
    .hero,
    .content-section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    /* Grids */
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .consulting-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .approach-text h2,
    .approach-text p {
        text-align: center;
    }
    
    .approach-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .ceo-section {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .ceo-image {
        width: 200px;
        margin: 0 auto;
    }
    
    .ceo-text {
        text-align: center;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 1rem;
    }
    
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    /* Sections */
    .hero,
    .content-section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 30px 0;
    }
    
    /* Cards */
    .offering-card,
    .industry-card,
    .card {
        padding: 20px;
    }
    
    /* Form */
    .form-section,
    .form-container {
        padding: 25px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-large {
    margin-bottom: 3rem;
}

.mt-large {
    margin-top: 3rem;
}

.bg-light {
    background: var(--gray-50);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Center the Why Choose OrionNexus heading & intro */
.why-choose {
  padding: 40px 0;
}

.why-choose h2 {
  text-align: center;
  margin-bottom: 12px;
}

.why-choose > p {
  text-align: center;
  max-width: var(--inner-narrow);
  margin: 0 auto 14px;
  line-height: 1.75;
}

/* Keep the step items centered as a block, but their text left-aligned */
.why-choose .framework-steps {
  max-width: var(--page-max);
  margin: 24px auto 0;   /* centers the whole steps block */
  width: 100%;
}

/* If your steps are a grid and you want them centered in rows, you can use: */
/*
.why-choose .framework-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--page-max);
  margin: 24px auto 0;
}
@media (max-width: 900px) {
  .why-choose .framework-steps { grid-template-columns: 1fr; }
}
*/
