/* Hero Section */
.hero-section {
    position: relative;
    background-color: var(--navy);
    padding: 6rem 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}
.hero-badge {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    display: block;
}
.hero-title {
    font-size: 3rem;
    font-family: var(--font-serif);
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
.hero-text {
    color: #cbd5e1;
    font-size: 1.25rem;
    line-height: 1.75;
}

/* Story Section */
.story-section {
    padding: 6rem 0;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .story-grid { grid-template-columns: repeat(2, 1fr); }
}
.story-image-wrapper {
    position: relative;
}
.story-image {
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    height: auto;
    object-fit: cover;
}
.story-floating-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    display: none;
}
@media (min-width: 768px) { .story-floating-card { display: block; } }

.story-floating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.story-floating-text {
    font-weight: 700;
    color: var(--text-main);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.story-content h2 {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    line-height: 1.2;
}
@media (min-width: 768px) { .story-content h2 { font-size: 3rem; } }
.story-content p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.75;
}

.quote-block {
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--secondary);
}
.quote-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1rem !important; /* override generic p margin */
}
.quote-author {
    font-weight: 700;
    color: var(--primary);
}

/* Values/Features Grid */
.values-section {
    background-color: #f1f5f9;
    padding: 6rem 0;
}
html.dark .values-section { background-color: #1e293b; }
.values-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem auto;
}
.values-title {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 1rem;
}
@media (min-width: 768px) { .values-title { font-size: 3rem; } }
.values-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.value-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-0.5rem); }
.value-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 142, 230, 0.1);
    color: var(--primary);
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.value-icon .material-symbols-outlined { font-size: 2rem; }
.value-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.value-card-text {
    color: var(--text-muted);
    line-height: 1.625;
}

/* Team Section Preview */
.team-preview {
    padding: 6rem 0;
    text-align: center;
}
.team-preview-header {
    max-width: 48rem;
    margin: 0 auto 3rem auto;
}
.team-preview-title {
    font-size: 2.25rem;
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .team-preview-title { font-size: 3rem; } }
.team-preview-text {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}