/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-bg-light {
    background-color: #ffffff;
}

.section-bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark p {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    margin-bottom: 1.25rem;
    color: inherit;
    font-weight: 600;
}

.section-title span {
    color: var(--primary);
}

.hero-text-content h1 span {
    color: var(--primary);
}

.section-subtitle {
    font-size: var(--fs-subline);
    line-height: 1.5;
    color: var(--text-muted);
    text-align: inherit;
    margin-bottom: 3rem;
}

.section-bg-dark .section-subtitle {
    color: #9CA3AF;
}

/* Page Header / Hero Styling */
.page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 100px 0;
    /* Updated to be more balanced as requested */
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.hero-text-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: var(--fs-h1);
    line-height: var(--lh-tight);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-main);
    font-weight: 800;
}

.page-header h1 span {
    color: var(--primary);
}

.page-header .tagline {
    font-size: var(--fs-subline);
    color: #64748B;
    margin: 0 auto 3rem auto;
    line-height: 1.5;
    max-width: 700px;
}

.hero-text-content .flex {
    justify-content: center;
}

/* Grid & Flex Utilities */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Typography controlled via inline styles per user requirement */


.text-center {
    text-align: center !important;
}

/* Responsive Alignment Utilities - Desktop Default */
.txt-left-dt { text-align: left; }
.txt-center-dt { text-align: center; }
.txt-right-dt { text-align: right; }

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

/* Helper classes */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-8 {
    margin-top: 2rem;
}