/* Bridged Solutions - Main Stylesheet */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --dark: #0a0a0f;
    --gray-900: #18181b;
    --gray-700: #3f3f46;
    --gray-600: #52525b;
    --gray-400: #a1a1aa;
    --gray-200: #e4e4e7;
    --gray-100: #f4f4f5;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
}

p {
    color: var(--gray-600);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    padding: 0 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 16px !important;
    width: auto !important;
    max-height: 16px !important;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dark);
}

.nav-cta {
    background: var(--dark) !important;
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: var(--gray-900) !important;
    transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 24px 120px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    max-width: 560px;
    margin: 0 auto 40px;
    color: var(--gray-600);
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    border: none;
}

.btn-primary {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Sections */
section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-header p {
    margin-top: 16px;
    font-size: 1.1rem;
}

.section-label {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

/* Problem Section */
.problem {
    background: var(--gray-100);
}

.problem-grid {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.problem-card {
    flex: 1;
    min-width: 280px;
    background: var(--white);
    padding: 36px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.problem-card .icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.problem-card h3 {
    margin-bottom: 12px;
}

/* Services Grid */
.services-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
}

.service-card {
    flex: 1;
    min-width: 260px;
    background: var(--white);
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}

.service-card .icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 20px;
}

.service-card .learn-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.service-card .learn-more:hover {
    gap: 10px;
}

/* Who We Help */
.who-grid {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.who-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 32px 24px;
    background: var(--gray-100);
    border-radius: 16px;
    transition: all 0.3s;
}

.who-card:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-4px);
}

.who-card:hover h3,
.who-card:hover p {
    color: var(--white);
}

.who-card .icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.who-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.who-card p {
    font-size: 0.875rem;
}

/* Why Bridged */
.why-grid {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.why-item {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.why-item .number {
    width: 52px;
    height: 52px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 20px;
}

.why-item h3 {
    margin-bottom: 12px;
}

/* Process Section */
.process {
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.process .section-header h2,
.process .section-header p,
.process .section-label {
    color: var(--white);
}

.process .section-label {
    opacity: 0.6;
}

.process-grid {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 250px;
    position: relative;
    padding: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.process-step:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.process-step .step-number {
    position: absolute;
    top: -16px;
    left: 32px;
    background: var(--gradient);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.process-step h3 {
    color: var(--white);
    margin-bottom: 12px;
    margin-top: 8px;
}

.process-step p {
    color: var(--gray-400);
}

/* CTA Section */
.cta {
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
}

.cta p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}

.cta .btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: none;
    position: relative;
}

.cta .btn-secondary:hover {
    background: var(--gray-100);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 72px 24px 48px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: var(--gray-400);
    max-width: 280px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* Page Headers */
.page-header {
    padding: 150px 24px 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    margin-bottom: 16px;
    position: relative;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

/* Services Page Detailed */
.service-detail {
    padding: 80px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail:nth-child(even) .service-detail-content {
    direction: rtl;
}

.service-detail:nth-child(even) .service-detail-content > * {
    direction: ltr;
}

.service-detail-text h2 {
    margin-bottom: 20px;
}

.service-detail-text p {
    margin-bottom: 24px;
}

.service-detail-text ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-detail-text li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    color: var(--gray-600);
}

.service-detail-text li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    background: rgba(37, 99, 235, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.service-detail-visual {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 20px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

/* About Page */
.about-intro {
    padding: 80px 24px;
}

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

.about-intro h2 {
    margin-bottom: 24px;
}

.about-intro p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.8;
}

.values-grid {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    flex-wrap: wrap;
}

.value-card {
    flex: 1;
    min-width: 260px;
    padding: 36px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.value-card .icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 12px;
}

/* Contact Page */
.contact-section {
    padding: 80px 24px;
}

.contact-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info p {
    margin-bottom: 32px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: 12px;
    transition: all 0.2s;
}

.contact-method:hover {
    background: var(--gray-200);
}

.contact-method .icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-method h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.contact-method p {
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--gray-100);
    padding: 44px;
    border-radius: 20px;
}

.contact-form h3 {
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

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

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

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

.contact-form .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail:nth-child(even) .service-detail-content {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 130px 24px 80px;
    }

    section {
        padding: 70px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
