/* style.css */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
    --bg-color: #F2EFE8;
    --card-bg: #ECEAE3;
    --primary-accent: #C8964A;
    --text-main: #0D2B4E;
    --text-alt: #5A6170;
    --border: #D4D0C8;
    --nav-bg: #0D2B4E;
    --nav-text: rgba(255, 255, 255, 0.6);
    --nav-text-hover: #ffffff;
    --font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    font-weight: 300;
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    position: sticky;
    top: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: #ffffff;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--nav-text);
    transition: color 0.25s;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--nav-text-hover);
}

.nav-contact-link {
    font-weight: 500;
    color: #fff !important;
    background: var(--primary-accent);
    padding: 7px 16px;
    border-radius: 6px;
    letter-spacing: 0.06em !important;
    transition: background 0.2s !important;
}

.nav-contact-link:hover {
    background: #b07a38 !important;
    color: #fff !important;
}

/* ── Gold Line Separators in Hero ── */
.gold-line {
    display: inline-block;
    width: 2px;
    height: 14px;
    background-color: var(--primary-accent);
    margin: 0 12px;
    vertical-align: middle;
}

/* ── About Us Description Box ── */
/* Similar styling to .contact-form-container */
.about-description-box {
    background: var(--bg-color);
    /* Matches form background */
    padding: 2.5rem;
    /* Matches form padding */
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-top: 3rem;
    max-width: 1100px;
    /* Matches your widened text width */
    margin-left: auto;
    margin-right: auto;
}

.about-description-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    margin: 0;
}

/* ── Hero section spacing - MINIMIZED ── */
#hero {
    padding: 0.2rem 0;
    /* Minimal vertical padding */
    text-align: center;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border);
}

/* --- UPDATED HERO SECTION --- */
#hero {
    /* Original: padding: 2.5rem 0 2rem; */
    padding: 0.6rem 0 0.5rem;
    /* Drastically reduced vertical padding */
    text-align: center;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border);
}

/* Hero centered logo block */
.hero-logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Original: margin-bottom: 1.25rem; */
    margin-bottom: 0.3rem;
    /* Reduced space between logo and first paragraph */
}

/* --- UPDATED PARAGRAPH SPACING --- */
.hero-tagline-bar {
    font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.04em;
    /* Original: margin-bottom: 0.9rem; */
    margin-bottom: 0.2rem;
    /* Tightens gap between the 2 paragraphs */
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-alt);
    max-width: 800px;
    margin: 0 auto 1.5rem;
    /* Reduced bottom margin */
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ── Widen text blocks ── */
.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-alt);
    max-width: 1100px;
    /* Widened to match form width */
    margin: 0 auto 2rem;
}

/* ── About Us text formatting ── */
.about-main-description {
    font-size: 1.3rem;
    /* Matches .founder-card h3 title size */
    margin-top: 2rem;
    line-height: 1.5;
}

.text-cta {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--primary-accent);
    transition: opacity 0.2s;
}

.text-cta:hover {
    opacity: 0.7;
}

.grid {
    display: grid;
    gap: 2rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

#solutions {
    padding: 6rem 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.solution-card {
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
}

.solution-card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-left: 4px solid var(--primary-accent);
    padding-left: 15px;
}

.solution-list {
    list-style: none;
    color: var(--text-alt);
}

.solution-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    font-weight: 300;
}

.solution-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-accent);
}

#about {
    padding: 6rem 0;
    background: var(--bg-color);
}

.founders-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.founder-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.founder-card p {
    color: var(--text-alt);
    font-weight: 300;
    font-size: 0.95rem;
}

.founder-img {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border: 2.5px solid var(--primary-accent);
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

#contact {
    padding: 6rem 0;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
}

.contact-flex {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1.2;
}

.form-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.15;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 1rem;
}

.form-subtext {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-alt);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.contact-form-container {
    flex: 1.5;
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

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

label {
    display: block;
    color: var(--text-alt);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

input,
textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.8rem;
    color: var(--text-main);
    border-radius: 6px;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    border-color: var(--primary-accent);
}

button {
    width: 100%;
    background: var(--nav-bg);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #1A4A7A;
}

#form-status {
    display: none;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-alt);
    text-align: center;
}

#legal {
    padding: 4rem 0;
    color: var(--text-alt);
    font-size: 0.9rem;
    font-weight: 300;
    border-top: 1px solid var(--border);
}

#legal h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-alt);
    font-size: 0.8rem;
    font-weight: 300;
    border-top: 1px solid var(--border);
    background: var(--bg-color);
}

@media (max-width: 768px) {

    .solutions-grid,
    .founders-grid,
    .contact-flex {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .form-title {
        white-space: normal;
        overflow: visible;
        font-size: 2rem;
    }

    .form-subtext {
        max-width: 100%;
    }
}