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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #0a0a0a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tab System */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Header and Navigation */
.header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
}

/* Suppress external-link arrow in header navigation (parity with PHP styles) */
.header .nav-menu .nav-link[data-external="true"]::after {
    content: none !important;
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 1rem 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.logo h1 {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
}

.logo-subtitle {
    font-size: 0.7rem !important;
    color: #888 !important;
    letter-spacing: 1px !important;
    display: block !important;
}

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

.nav-menu a {
    text-decoration: none !important;
    color: #e0e0e0 !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    cursor: pointer;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    color-scheme: dark;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #e0e0e0 !important;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle:hover,
.nav-toggle:active,
.nav-toggle:focus {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Hero Sections */
.hero {
    padding: 120px 0 80px;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ffd700;
    color: #1a1a1a;
}

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

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Home Hero */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Defense Hero */
.defense-hero,
.hero-defense {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.defense-hero::before,
.hero-defense::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23dc3545" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.1;
}

/* Apps Hero */
.apps-hero,
.hero-apps {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.apps-hero::before,
.hero-apps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuit" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/><path d="M 0 10 L 20 10 M 10 0 L 10 20" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23circuit)"/></svg>');
    opacity: 0.1;
}

/* Tech Grids */
.tech-grid,
.defense-grid,
.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.tech-item,
.defense-item,
.ai-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.tech-item:hover,
.defense-item:hover,
.ai-item:hover {
    transform: translateY(-5px);
}

.tech-item i,
.defense-item i,
.ai-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.tech-item span,
.defense-item span,
.ai-item span {
    font-weight: 600;
    font-size: 1.1rem;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    font-size: 1.1rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #111111;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.about-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Divisions Section */
.divisions {
    padding: 80px 0;
    background: #0a0a0a;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.division-card {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.division-card:hover {
    transform: translateY(-5px);
}

.division-card.defense {
    border-left: 5px solid #dc3545;
}

.division-card.apps {
    border-left: 5px solid #007bff;
}

.division-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.division-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.division-features {
    list-style: none;
    margin-bottom: 2rem;
}

.division-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.division-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.division-visual {
    text-align: center;
}

.division-visual i {
    font-size: 4rem;
    color: #007bff;
}

.division-card.defense .division-visual i {
    color: #dc3545;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #111111;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.product-card.featured {
    border: 3px solid #dc3545;
    transform: scale(1.02);
}

.product-image {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    padding: 3rem;
    text-align: center;
    border-bottom: 1px solid #444;
}

.product-image i {
    font-size: 4rem;
    color: #dc3545;
}

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

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.spec {
    background: #2a2a2a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #b0b0b0;
    border: 1px solid #444;
}

/* Capabilities Section */
.capabilities {
    padding: 80px 0;
    background: #0a0a0a;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.capability-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border-left: 4px solid #dc3545;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.capability-card:hover {
    transform: translateY(-5px);
}

.capability-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.capability-icon i {
    font-size: 2rem;
    color: white;
}

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.capability-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.capability-card ul {
    list-style: none;
    text-align: left;
}

.capability-card li {
    padding: 0.3rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.capability-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

/* Applications Section */
.applications {
    padding: 80px 0;
    background: #111111;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.app-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.app-card.featured {
    border: 3px solid #007bff;
    transform: scale(1.02);
}

.app-image {
    background: linear-gradient(135deg, #007bff, #0056b3);
    padding: 3rem;
    text-align: center;
    border-bottom: 1px solid #444;
}

.app-image i {
    font-size: 4rem;
    color: #ffd700;
}

.app-content {
    padding: 2rem;
}

.app-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.app-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
}

.app-actions .btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.app-status {
    display: block;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.app-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.app-features li {
    padding: 0.5rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.app-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.app-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* About Feature Grid - Mobile Scrollable */
.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Mobile-specific horizontal scroll for feature grids */
@media (max-width: 768px) {
    .about-feature-grid,
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 280px);
        gap: 1.5rem;
        overflow-x: auto;
        padding: 0 1rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0;
    }
    
    .about-feature-grid .feature-card,
    .features-grid .feature-card {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 280px;
        margin-right: 0.5rem;
    }
}

/* Extra compact screens */
@media (max-width: 480px) {
    .about-feature-grid,
    .features-grid {
        grid-template-columns: repeat(3, 260px);
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .about-feature-grid .feature-card,
    .features-grid .feature-card {
        min-width: 260px;
        margin-right: 0.25rem;
    }
}

.feature-card {
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border-left: 4px solid #007bff;
    transition: transform 0.3s ease;
    border: 1px solid #333;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card li {
    padding: 0.3rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #111111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
/* Fallback for gap in flexbox (column) */
.contact-info > *:not(:last-child) {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}
/* Fallback for gap in flexbox (row) */
.contact-item > *:not(:last-child) {
    margin-right: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.contact-item p {
    color: #b0b0b0;
}

.contact-form {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #2a2a2a;
    color: #e0e0e0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    background: #333;
}

/* Footer */
.footer {
    background: #1a1a1a;
    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-section h4 {
    margin-bottom: 1rem;
    color: #ffd700;
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }

    /* Ensure menu becomes visible when toggled on mobile */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .tech-grid,
    .defense-grid,
    .ai-grid {
        grid-template-columns: 1fr;
    }
    
    .divisions-grid {
        grid-template-columns: 1fr;
    }
    
    .division-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-card,
    .division-card,
    .product-card,
    .capability-card,
    .app-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .product-image,
    .app-image {
        padding: 2rem;
    }

    /* Consulting Section Mobile Styles */
    .consulting-hero {
        padding: 2rem;
    }

    .consulting-content h3 {
        font-size: 1.5rem;
    }

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

    .process-steps {
        grid-template-columns: 1fr;
    }

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

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

    .consulting-cta {
        padding: 2rem;
    }

    .consulting-cta h3 {
        font-size: 1.5rem;
    }

    /* Consulting Preview Mobile Styles */
    .consulting-preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .consulting-preview-text h3 {
        font-size: 1.5rem;
    }

    .consulting-preview-visual {
        padding: 2rem 1.5rem;
        order: 3;
    }

    .consulting-preview-text {
        order: 1;
    }

    .consulting-preview-text .btn {
        order: 2;
        margin-bottom: 2rem;
    }
}

/* Consulting Preview Section */
.consulting-preview {
    padding: 80px 0;
    background: #111111;
}

.consulting-preview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consulting-preview-text h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.consulting-preview-text p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.consulting-preview-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.feature-item span {
    color: #e0e0e0;
    font-weight: 500;
}

.consulting-preview-visual {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid #333;
}

.consulting-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.consulting-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.consulting-preview-visual h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.consulting-preview-visual p {
    color: #b0b0b0;
}

/* Consulting Section Styles */
.consulting {
    padding: 80px 0;
    background: #0a0a0a;
}

.consulting-hero {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
    text-align: center;
}

.consulting-content h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.consulting-content p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.why-choose {
    margin-bottom: 4rem;
}

.why-choose h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.why-choose > p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

.our-process {
    margin-bottom: 4rem;
}

.our-process h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.step-number {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #b0b0b0;
    line-height: 1.6;
}

.service-tiers {
    margin-bottom: 4rem;
}

.service-tiers h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tier-card {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.tier-card.featured {
    border: 2px solid #007bff;
    transform: scale(1.05);
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #444;
}

.tier-header h4 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tier-price {
    font-size: 1.2rem;
    color: #007bff;
    font-weight: 600;
}

.tier-features {
    list-style: none;
}

.tier-features li {
    padding: 0.5rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 1.5rem;
}

.tier-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.safety-compliance {
    margin-bottom: 4rem;
}

.safety-compliance h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 3rem;
    text-align: center;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #333;
}

.compliance-item i {
    font-size: 1.5rem;
    color: #dc3545;
    flex-shrink: 0;
}

.compliance-item p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

.consulting-cta {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    padding: 3rem;
    border-radius: 16px;
}

.consulting-cta h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.consulting-cta p {
    font-size: 1.1rem;
    color: #b0b0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Force dark mode header styles to override any conflicts */
body .header {
    background: rgba(10, 10, 10, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

body .header * {
    color: inherit !important;
}

body .header .logo h1,
body .header .logo-subtitle,
body .header .nav-menu a {
    color: #e0e0e0 !important;
}

body .header .logo h1 {
    color: #ffffff !important;
}

body .header .nav-menu a:hover,
body .header .nav-menu a.active {
    color: #007bff !important;
    background: rgba(0, 123, 255, 0.2) !important;
}

.tagline {
    font-size: 1.2rem;
    text-align: center;
    color: #555;
    margin-top: -10px;
}

.consulting-follow {
    text-align: center;
    margin-top: 2rem;
}

/* ========================================
   ASTRO-SPECIFIC SECTION STYLES
======================================== */

/* About Section */
.about-section {
    padding: 80px 0;
    background: #111111;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.products-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card.featured {
    border-left: 5px solid #dc3545;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.product-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Consulting Section */
.consulting-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.consulting-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    text-align: center;
}

/* Apps Section */
.apps-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.apps-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    text-align: center;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #333;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.app-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
    color: inherit;
}

.app-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.app-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Contact Wrapper */
.contact-wrapper {
    padding: 80px 0;
    background: #111111;
}

.contact-wrapper h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
    text-align: center;
}

/* Mobile Responsive for Astro sections */
@media (max-width: 768px) {
    .about-grid,
    .product-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section h2,
    .products-section h2,
    .consulting-section h2,
    .apps-section h2,
    .contact-wrapper h2 {
        font-size: 2rem;
    }
}
