/* Clairlucent Consulting - Modern Professional Styles */

:root {
    --primary: #1a237e;
    --secondary: #3949ab;
    --accent: #00bcd4;
    --background: #f5f7fa;
    --text: #222;
    --white: #fff;
    --shadow: rgba(60, 60, 60, 0.08);
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

header {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
}

header .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem 1rem 1rem 1rem;
}

.logo {
    max-height: 120px;
    margin-bottom: 0;
    margin-right: 1.5rem;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(60,60,60,0.10);
}

.header-title-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0.2rem 0 0 0;
    color: var(--accent);
}

nav {
    margin-left: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
}

.section {
    padding: 1rem 1rem; /* reduce vertical space between sections */
}

/* Make section backgrounds span full browser width while keeping content centered */
.section > .container {
    background: var(--white);
    margin: 1rem auto; /* tighten vertical gap between stacked sections */
    border-radius: 12px;
    box-shadow: 0 2px 12px var(--shadow);
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    max-width: 1100px; /* wider content area for main sections */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    color: var(--secondary);
    margin-top: 0;
}

.services-list {
    padding-left: 0;
    list-style: none;
}

.services-list li {
    margin-bottom: 1.5rem;
    font-size: 1.08rem;
    position: relative;
    padding-left: 1.5em;
    display: block;
    align-items: unset;
}

.services-list li::before {
    content: '';
    position: absolute;
    left: 0.2em;
    top: 0.5em;
    width: 0.6em;
    height: 0.6em;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    margin: 0;
}

.services-list strong {
    display: block;
    font-size: 1.12rem;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.problem-detail {
    margin: 0 0 0.2rem 1.2rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Problems card grid */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(30,40,60,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(30,40,60,0.10);
}

/* card header bar (replaces the image) */
.card-header {
    padding: 1.5rem 1.15rem;
    background: #1a237e;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.card:hover { transform: translateY(-6px); }

.card-content {
    padding: 0.9rem 1.15rem 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Push the "Our Service" heading to the bottom of the card content so it aligns across cards */
.card-content h4 {
    margin-top: auto;
    color: #274060;
    font-size: 0.95rem;
}

.problem .lead {
    margin: 0.2rem 0 0.6rem 0;
    color: #1f2937;
}

.service-list {
    margin: 0.25rem 0 0 1rem;
}

.service-list li {
    margin-bottom: 0.45rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: #f9f9f9;
    resize: none;
}

.contact-form button {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
}

.form-note {
    font-size: 0.95rem;
    color: #888;
    margin-top: -0.5rem;
}

footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.2rem 0 1rem 0;
    margin-top: 2rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 -2px 8px var(--shadow);
}

@media (max-width: 600px) {
    header .container, .container {
        padding: 0 0.5rem;
    }
    nav ul {
        gap: 1rem;
    }
    .section {
        padding: 2rem 0.5rem;
    }
}

@media (max-width: 700px) {
    .header-flex {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        padding: 1.2rem 0.5rem 0.5rem 0.5rem;
    }
    nav {
        margin-left: 0;
    }
    .logo {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}
