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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

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

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
}

/* Colors */
.text-blue {
    color: #1d4ed8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background-color: #334155;
}

.btn-secondary {
    background-color: #f8fafc;
    color: #1e293b;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-outline {
    background-color: transparent;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.btn-outline:hover {
    background-color: #f8fafc;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline-white:hover {
    background-color: white;
    color: #1e293b;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-full-width {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d4ed8;
    text-decoration: none;
}

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

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1d4ed8;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #1d4ed8;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .nav-cta {
        display: flex;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #64748b;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #1d4ed8;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 1rem;
    height: 2px;
    background-color: #1e293b;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem;
}

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

.mobile-nav-links {
    list-style: none;
    margin-bottom: 1rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-link:hover {
    color: #1d4ed8;
}

/* Badge */
.badge {
    display: inline-block;
    background-color: #1e293b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
    padding: 5rem 0 8rem;
}

@media (min-width: 1024px) {
    .hero {
        padding: 8rem 0;
    }
}

.hero-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.arrow {
    margin-left: 0.5rem;
}

/* Value Proposition */
.value-proposition {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: #475569;
    max-width: 48rem;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: white;
    transition: all 0.3s ease;
}

.service-card: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(-4px);
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    display: inline-block;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-description {
    color: #475569;
    line-height: 1.6;
}

/* Results Section */
.results {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.results-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .results-content {
        grid-template-columns: 1fr 1fr;
    }
}

.highlight-card {
    border: 2px solid #bfdbfe;
    background-color: #dbeafe;
    border-radius: 0.5rem;
    padding: 2rem;
}

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

.highlight-icon {
    font-size: 2rem;
}

.highlight-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.highlight-text {
    color: #1e293b;
    font-size: 1.125rem;
}

.achievements-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.achievements-list {
    list-style: none;
    space: 0.75rem;
}

.achievements-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.achievements-list li::before {
    content: '→';
    color: #2563eb;
    font-weight: bold;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Track Record */
.track-record {
    padding: 5rem 0;
    background-color: white;
}

.delivery-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .delivery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.delivery-card {
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 2rem;
}

.delivery-card-highlight {
    background: linear-gradient(to bottom right, #dbeafe, #bfdbfe);
    border-color: #bfdbfe;
}

.delivery-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.delivery-list {
    list-style: none;
}

.delivery-list li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.delivery-list li::before {
    content: '• ';
    color: #2563eb;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Clients Section */
.clients {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.clients-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.clients-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .clients-list {
        gap: 3rem;
    }
}

.client {
    color: #64748b;
    font-weight: 500;
}

/* Call to Action */
.cta {
    padding: 5rem 0;
    background-color: #1e293b;
    color: white;
}

.cta-content {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-actions {
        flex-direction: row;
    }
}

/* Footer */
.footer {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-company {
    max-width: 28rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 1rem;
}

.footer-description {
    color: #64748b;
    margin-bottom: 1rem;
}

.footer-consultant {
    font-size: 0.875rem;
    color: #64748b;
}

.consultant-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-section-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1d4ed8;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #64748b;
}

.footer-contact a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #1d4ed8;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        text-align: left;
        gap: 0;
    }
}

.footer-copyright,
.footer-tagline {
    font-size: 0.875rem;
    color: #64748b;
}

/* Publications Page Styles */
.publications-header {
    background: linear-gradient(to bottom right, #f8fafc, #dbeafe);
    padding: 4rem 0;
}

.search-container {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active,
.tab-button:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

.publications-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .publications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .publications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.publication-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.publication-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    font-size: 0.75rem;
    color: #374151;
}

.read-time {
    font-size: 0.875rem;
    color: #6b7280;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1f2937;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.card-description {
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.co-author {
    font-size: 0.875rem;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.125rem 0.5rem;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.card-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.card-actions {
    display: flex;
    justify-content: flex-end;
}

/* Contact Form Styles */
.contact-form {
    max-width: 32rem;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1d4ed8;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

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

.form-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .value-proposition,
    .results,
    .track-record,
    .cta {
        padding: 3rem 0;
    }
    
    .clients {
        padding: 2rem 0;
    }
    
    .filter-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}