/* --- Global Styles & Variables --- */
:root {
    --primary-color: #008080; /* Teal */
    --primary-hover: #006666;
    --dark-text: #333;
    --light-text: #f8f9fa;
    --body-text: #555;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
    --border-color: #dee2e6;
    --font-family: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-family);
    color: var(--body-text);
    line-height: 1.7;
    margin: 0;
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    color: var(--dark-text);
    font-weight: 600;
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style-type: none;
    padding: 0;
}

.content-section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.section-title {
    margin-bottom: 50px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--dark-text);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- Buttons --- */
.btn {
    padding: 10px 25px !important;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center; /* Horizontally centers the items */
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    color: var(--light-text);
    text-align: center;
    padding: 120px 0;
}
.hero-section h1 { color: #fff; }
.hero-section .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}
.hero-subpage {
    padding: 80px 0;
}

/* --- Page Specific Sections --- */
/* Problem Section */
.two-columns {
    display: flex;
    gap: 40px;
}
.column {
    flex: 1;
}
.problem-section ul li {
    background: url('https://img.icons8.com/color/16/000000/cancel--v1.png') no-repeat left 5px;
    padding-left: 25px;
    margin-bottom: 10px;
}

/* Solution Section */
.solution-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.trust-point {
    margin-top: 30px;
    padding: 20px;
    background-color: #e6f2f2;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* How it Works Section */
.three-steps {
    display: flex;
    gap: 30px;
    text-align: center;
}
.step-card {
    flex: 1;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item {
    padding: 20px;
}
.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Clients Section */
.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 30px;
}
.client-logos img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.client-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.client-note {
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--light-text);
}
.cta-section h2 { color: #fff; }
.cta-section p { margin-bottom: 30px; }
.cta-section .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}
.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
    border-color: var(--bg-light);
}
.contact-email {
    display: block;
    margin-top: 20px;
    color: var(--light-text);
    opacity: 0.8;
}
.contact-email:hover { opacity: 1; }

/* --- Industries Page --- */
.industry-section .industry-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.industry-content.reverse {
    flex-direction: row-reverse;
}
.industry-text { flex: 1; }
.industry-image { flex: 1; }
.industry-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.industry-text ul li {
    background: url('https://img.icons8.com/fluency-systems-filled/16/008080/checkmark.png') no-repeat left 8px;
    padding-left: 28px;
    margin-bottom: 10px;
}

/* --- Footer --- */
.site-footer-main {
    background-color: var(--bg-dark);
    color: var(--light-text);
    padding: 50px 0 20px;
}
.site-footer-main a { color: var(--light-text); }
.site-footer-main a:hover { color: var(--primary-color); }
.site-footer-main .logo { color: var(--primary-color); }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
}
.footer-col p {
    opacity: 0.7;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    opacity: 0.7;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    .main-nav ul { display: none; } /* Simplified for demo; a real site needs a hamburger menu */

    .two-columns, .three-steps, .industry-section .industry-content {
        flex-direction: column;
    }
    .industry-content.reverse {
        flex-direction: column;
    }
    
    .client-logos {
        flex-direction: column;
        gap: 40px;
    }
}

.logo img {
    max-width: 250px;
    height: auto;
}
/* --- Problem Section Cards --- */
.problem-section .column h3 {
    margin-bottom: 25px;
}

.problem-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.problem-icon {
    font-size: 2rem;
    line-height: 1;
}

.problem-card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
}

.problem-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--body-text);
}