:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-main: #0f172a;
    /* Darker for better contrast */
    --text-muted: #475569;
    --bg-body: #f8fafc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-y: auto;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1.5rem;
}

.about-card {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    margin-top: 2rem;
    /* Added top padding */
    transition: transform 0.2s;
}

.back-link:hover {
    transform: translateX(-4px);
    color: var(--primary-dark);
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    /* Adjusted spacing */
    display: flex;
    justify-content: center;
}

.logo-wrapper {
    width: 100%;
    max-width: 320px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: none;
}

h1 {
    font-size: 2.5rem;
    /* Increased size */
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.lead {
    font-size: 1.2rem;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4rem auto;
    /* More separation */
    color: var(--primary);
    /* Branding color */
    font-weight: 500;
}

.grid-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.section-box {
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    background: #f1f5f9;
    border-radius: 0 12px 12px 0;
}

h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    /* Better Contrast */
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

h2 svg {
    color: var(--primary);
    flex-shrink: 0;
}

p {
    margin-bottom: 1.25rem;
    text-align: justify;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.highlight-item {
    background: var(--bg-body);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.highlight-item svg {
    margin-bottom: 0.75rem;
}

.highlight-item strong {
    color: var(--text-main);
    display: block;
}

.highlight-icon-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.team-section {
    text-align: center;
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    margin-top: 3.5rem;
}

.cta-section {
    text-align: center;
    margin-top: 5rem;
    /* Increased Spacing */
    padding-top: 3.5rem;
    border-top: 1px solid #e2e8f0;
}

.demo-form {
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.demo-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.demo-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    color: #16a34a;
    display: block;
}

.form-message.error {
    color: #dc2626;
    display: block;
}

footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .about-card {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 1.85rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .lead {
        font-size: 1.05rem;
        margin-bottom: 3rem;
    }

    .demo-form {
        flex-direction: column;
    }
}
/* Highlights Section Updates */
.highlight-item {
    text-align: left !important;
    align-items: flex-start !important;
}

.highlight-item h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-item p {
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}
