:root {
    --primary-color: #007BFF;
    /* Electric Blue */
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-bg: #0a0a1a;
    /* Very Dark Blue/Black */
    --card-bg: #1a1a2e;
    /* Dark Navy Card Background */
    --text-light: #f0f0f0;
    --text-muted: #8a8a9e;
    --border-color: #333;
}

html {
    font-size: 22px;
    /* Bumped to 22px to definitively fix the "zoomed out" look */
}


body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    /* Increased for better readability */
    /* Padding handled per section */
}





/* --- Typography --- */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
    font-weight: 750;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    /* Slightly larger body text */
}

.lead {
    font-size: 1.35rem !important;
    font-weight: 400;
}


a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* --- Navigation --- */
.navbar {
    background-color: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    /* Smaller height */
}

/* Narrower Navbar Container */
.navbar .container {
    max-width: 1100px;
    /* Making the menu width smaller bit */
}


.navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar .nav-link {
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

/* --- Hero Section & Page Headers --- */
#hero,
.hero-section,
.page-header {
    padding-top: 80px !important;
    /* Tighter fit under the navbar */
    padding-bottom: 80px !important;
    position: relative;
    overflow: hidden;
}

#hero {
    min-height: 80vh;
    background: var(--dark-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 123, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(26, 188, 156, 0.1) 0%, transparent 50%) !important;
    display: block !important;
    z-index: 1;
}



.hero-badge {
    margin-bottom: 1.5rem;
}

.hero-badge .badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
}

.hero-section h1 {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* --- Page Header --- */
.page-header {
    padding: 6rem 0;
    /* Increased padding */
    position: relative;
    overflow: hidden;
}

/* Ensure headings have high contrast */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white p {
    color: #ffffff !important;
}


/* --- Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--dark-bg);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* --- Cards --- */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-detail-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.benefit-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    /* More breathing room */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    /* Larger icon */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}


.industry-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.industry-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.industry-feature-card {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.challenge-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--danger-color);
    height: 100%;
}

.challenge-icon {
    font-size: 2.5rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.solution-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--success-color);
    height: 100%;
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.team-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    height: 100%;
}

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff !important;
    /* Force high contrast on dark card */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.testimonial-author h6 {
    color: #ffffff !important;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.testimonial-author .text-muted {
    color: #a0aec0 !important;
    /* Muted but readable blue-grey */
}


.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 1rem;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.pricing-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    margin: 1.5rem 0;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.pricing-footer {
    margin-top: auto;
}

/* --- Trust Logos --- */
.trust-logo {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--dark-bg);
}

/* --- Comparison Table --- */
.comparison-table {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.comparison-table td {
    border-color: var(--border-color);
}

.feature-category {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    text-align: center;
}

/* --- Animations --- */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-card {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Forms --- */
.form-control {
    background-color: #2a2a3e;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.75rem 1rem;
}

.form-control:focus {
    background-color: #2a2a3e;
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.form-select {
    background-color: #2a2a3e;
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.form-select:focus {
    background-color: #2a2a3e;
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* --- Footer --- */
footer {
    background-color: var(--card-bg);
    padding: 3rem 0;
}

/* --- Breadcrumb --- */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* --- Accordion --- */
.accordion-button {
    background-color: var(--card-bg);
    color: var(--text-light);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 5rem 0;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item .timeline-content {
        margin-left: 60px !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-marker {
        left: 30px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

/* --- Additional utility classes --- */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* --- Custom animations --- */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* --- Loading spinner --- */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* --- Alert styles --- */
.alert {
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #7fd89a;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #f5a8a8;
}

/* --- Custom scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}