/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: #e30000;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

img, table, iframe, video, embed, object { 
    max-width: 100%; 
    height: auto; 
    box-sizing: border-box;
}

.mobile-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.top-nav {
    background: #fff;
    border-bottom: 1px solid #e6e8ec;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e30000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e30000;
}

/* Breadcrumbs */
.breadcrumbs {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 16px 0;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li + li:before {
    content: "/";
    margin: 0 6px;
    color: #bbb;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Key Facts under H1 */
.key-facts {
    margin: 1.5rem auto 2rem;
    max-width: 700px;
}

.key-facts ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.75rem;
    padding: 0;
}

.key-facts li {
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(227, 0, 0, 0.1);
}

.key-facts li::before {
    content: "✓";
    color: #e30000;
    font-weight: 700;
    margin-right: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #e30000;
    color: white;
    border: 2px solid #e30000;
}

.btn-primary:hover {
    background: #cc0000;
    border-color: #cc0000;
}

.btn-secondary {
    background: transparent;
    color: #e30000;
    border: 2px solid #e30000;
}

.btn-secondary:hover {
    background: #e30000;
    color: white;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

/* Key Features Section */
.key-features-section {
    background: #f8f9fa;
}

.capability-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.capability-list li {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #e30000;
}

.capability-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.capability-item p {
    color: #666;
    line-height: 1.6;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e6e8ec;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Trust Section */
.trust {
    background: #f8f9fa;
    text-align: center;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 2rem;
}

.logo-strip li {
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-strip img {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-strip img:hover {
    opacity: 1;
}

/* Integrations */
.integrations {
    text-align: center;
}

.integration-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.integration-item {
    background: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid #e6e8ec;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: #e30000;
    color: white;
    border-color: #e30000;
}

/* Contact */
.contact {
    background: #f8f9fa;
    text-align: center;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color: #e30000;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Rating Capsule */
.rating-capsule {
    font: 14px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    background: #f6f7f9;
    border: 1px solid #e6e8ec;
    border-radius: 999px;
    padding: 6px 10px;
    margin: 24px auto;
    justify-content: center;
}

.rating-capsule .stars {
    color: #f7b500;
    letter-spacing: 1px;
}

.rating-capsule .value {
    font-weight: 700;
}

.rating-capsule .count {
    color: #555;
}

.rating-capsule .reviews-link {
    color: #666;
    font-size: 12px;
    text-decoration: underline;
    margin-left: 6px;
}

/* Reviews Page */
.reviews-page {
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.reviews-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.reviews-summary {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.summary-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.big-rating {
    font-size: 3rem;
    font-weight: 700;
    color: #e30000;
}

.rating-details .stars {
    color: #f7b500;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.reviews-list {
    display: grid;
    gap: 2rem;
}

.review {
    background: white;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
}

.review:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.reviewer-title {
    color: #666;
    font-size: 0.9rem;
}

.review-meta {
    text-align: right;
}

.review-meta .rating {
    color: #f7b500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.review-meta time {
    color: #999;
    font-size: 0.9rem;
}

.review-content p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.verified {
    color: #28a745;
    font-size: 0.9rem;
    font-weight: 500;
}

.review-footer a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.review-footer a:hover {
    text-decoration: underline;
}

/* About Page */
.about-page {
    padding: 2rem 0;
}

.mission-section, .values-section, .services-section, .certifications-section, .team-section, .contact-cta {
    margin-bottom: 4rem;
}

.values-grid, .cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item, .cert-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e6e8ec;
    text-align: center;
}

.value-item h3, .cert-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #e30000;
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.leadership-note {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.leadership-note p {
    margin-bottom: 1rem;
}

.leadership-note p:last-child {
    margin-bottom: 0;
}

.contact-cta {
    text-align: center;
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    color: #e30000;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-nav h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #e30000;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-only { 
        display: none; 
    }
    
    .mobile-priority { 
        font-size: 1.1em; 
        line-height: 1.4; 
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .capability-list {
        grid-template-columns: 1fr;
    }
    
    .key-facts ul {
        grid-template-columns: 1fr;
    }
    
    .key-facts li {
        text-align: left;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .summary-rating {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .review-meta {
        text-align: left;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 40px 0;
    }
    
    .steps li, .feature-card, .value-item, .cert-item, .service-item {
        padding: 1.5rem;
    }
    
    .reviews-summary, .contact-cta {
        padding: 1.5rem;
    }
}
