/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(37, 99, 235, 0.2);
    z-index: -1;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-nav {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

.btn-nav {
    background-color: var(--primary);
    color: white;
    padding: 10px 24px;
    font-size: 0.95rem;
}

.btn-nav.active {
    color: white !important;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    text-decoration: none;
    color: #1d4ed8;
    position: relative;
    display: inline-block;
}

.logo .blocks {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    gap: 3px;
}

.logo .block {
    background: #f97316;
    border-radius: 2px;
}

.logo .block:nth-child(1) { width: 12px; height: 18px; }
.logo .block:nth-child(2) { width: 15px; height: 24px; }
.logo .block:nth-child(3) { width: 18px; height: 30px; }
.logo .block:nth-child(4) { width: 21px; height: 36px; }

.logo span:last-child {
    color: #f97316;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    max-width: 800px;
    margin-bottom: 60px;
}

.subtitle {
    font-family: var(--font-mono);
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 4px solid var(--primary);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: var(--gray);
    margin: 0;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* Value Proposition */
.value-prop {
    padding: 100px 0;
    background-color: white;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.value-card {
    padding: 30px;
    border-radius: 12px;
    background-color: var(--light);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 1.5rem;
}

.value-card h3 {
    margin-bottom: 15px;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background-color: #f8fafc;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--dark);
}

.service-card ul {
    list-style: none;
    margin: 25px 0;
}

.service-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.service-card li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.service-link:hover {
    gap: 12px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background-color: var(--light);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

footer .container {
    display: flex;
    flex-direction: column;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col h4 span {
    color: var(--primary);
}

.footer-col a, .footer-col p {
    color: var(--gray-light);
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-col i {
    margin-right: 10px;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Page Hero */
.page-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    text-align: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: 20px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Story Sections */
.story-section {
    padding: 100px 0;
}

.story-section.alt-bg {
    background-color: #f8fafc;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content.reverse {
    direction: rtl;
}

.story-content.reverse > * {
    direction: ltr;
}

.story-text h2 {
    margin-bottom: 30px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.quote {
    background-color: var(--light);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    margin: 40px 0;
    position: relative;
}

.quote i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: block;
}

.quote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.story-image {
    text-align: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    border: 8px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.placeholder-content {
    text-align: center;
    color: var(--gray);
}

.placeholder-content i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.placeholder-content p {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

.placeholder-content small {
    color: var(--gray);
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.experience-tags span {
    background-color: var(--light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--primary);
}

/* Synthesis */
.synthesis {
    padding: 100px 0;
    background-color: white;
}

.synthesis-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 60px;
}

.synthesis-card {
    background-color: var(--light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    height: 100%;
}

.synthesis-card.main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 50px 40px;
    z-index: 1;
    position: relative;
    transform: scale(1.05);
}

.synthesis-card.main h3,
.synthesis-card.main p {
    color: white;
}

.syn-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 1.8rem;
}

.synthesis-card.main .syn-icon {
    background: white;
    color: var(--primary);
}

.synthesis-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.synthesis-card li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
}

.synthesis-card li:before {
    content: '•';
    position: absolute;
    left: 10px;
    color: var(--primary);
    font-weight: bold;
}

.syn-result {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.mission-statement {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    background-color: var(--light);
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-content,
    .synthesis-grid {
        grid-template-columns: 1fr;
    }
    
    .story-content.reverse {
        direction: ltr;
    }
    
    .synthesis-card.main {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo .blocks {
        top: -20px;
    }
    
    .logo .block:nth-child(1) { width: 10px; height: 15px; }
    .logo .block:nth-child(2) { width: 12px; height: 20px; }
    .logo .block:nth-child(3) { width: 15px; height: 25px; }
    .logo .block:nth-child(4) { width: 18px; height: 30px; }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .value-grid,
    .service-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
}

/* Contact Form Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 2rem;
}

.contact-form p {
    color: var(--gray);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
}

.info-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: var(--primary);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    color: var(--gray);
    margin-bottom: 8px;
    padding-left: 0;
}

.info-card p {
    color: var(--gray);
    margin-bottom: 8px;
}

/* Responsive Contact Form */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
}