*, *::before, *::after { box-sizing: border-box; }

/* ── GLOBAL OVERFLOW FIX ── */
html, body { overflow-x: hidden; max-width: 100%; }
img, video, iframe, canvas, svg { max-width: 100%; }

/* Design Tokens & Root Variables */
:root {
    --primary-teal: #008080;
    --primary-teal-hover: #006666;
    --primary-dark-cyan: #005B5C;
    --primary-gradient: linear-gradient(135deg, #008080 0%, #005B5C 100%);
    --secondary-green: #2E7D32;
    --secondary-green-hover: #1b5e20;
    --secondary-light-mint: #E8F5E9;
    --secondary-mint-accent: #A5D6A7;
    --text-charcoal: #263238;
    --text-slate: #455A64;
    --text-muted: #78909C;
    --bg-off-white: #F4F6F7;
    --bg-pure-white: #FFFFFF;
    --bg-mint-tint: #F1F8F6;
    --border-color: #ECEFF1;
    
    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(38, 50, 56, 0.05);
    --shadow-md: 0 8px 24px rgba(38, 50, 56, 0.08);
    --shadow-lg: 0 16px 32px rgba(38, 50, 56, 0.12);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 80, 80, 0.08);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-off-white);
    color: var(--text-slate);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-charcoal);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Containers */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.align-center {
    align-items: center;
}

.gap-lg {
    gap: 64px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--secondary-light-mint);
    color: var(--secondary-green);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid var(--secondary-mint-accent);
}

.section-badge {
    display: inline-block;
    color: var(--primary-teal);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
}

.section-badge::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: var(--secondary-green);
    margin-left: 8px;
    vertical-align: middle;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--bg-pure-white);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 128, 128, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    margin-left: 16px;
}

.btn-secondary:hover {
    background-color: rgba(0, 128, 128, 0.05);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--bg-pure-white);
    color: var(--primary-teal);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.btn-cta:hover {
    background-color: var(--secondary-light-mint);
    color: var(--secondary-green);
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.btn-secondary-cta {
    background-color: transparent;
    color: var(--bg-pure-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    margin-left: 16px;
}

.btn-secondary-cta:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--bg-pure-white);
    transform: translateY(-2px);
}

/* Header Spacer / Navbar (Sleek Placeholder) */
.site-header-placeholder {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    font-family: var(--font-headings);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-moo {
    color: var(--primary-teal);
}

.logo-carex {
    color: var(--secondary-green);
}

.nav-links-placeholder {
    display: flex;
    gap: 32px;
    align-items: center;
}

.placeholder-nav-item {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-slate);
    cursor: pointer;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s;
}

.placeholder-nav-item:hover, .placeholder-nav-item.active {
    color: var(--primary-teal);
}

.placeholder-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-green);
    border-radius: 2px;
}

.contact-nav {
    background-color: var(--secondary-light-mint);
    color: var(--secondary-green) !important;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--secondary-mint-accent);
}

.contact-nav:hover {
    background-color: var(--secondary-green);
    color: var(--bg-pure-white) !important;
}

/* 1. Hero Section */
.hero-section {
    padding: 80px 0 100px 0;
    background: radial-gradient(circle at 85% 15%, var(--bg-mint-tint) 0%, var(--bg-off-white) 100%);
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-charcoal) 30%, var(--primary-dark-cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-slate);
    margin-bottom: 36px;
    max-width: 550px;
    font-weight: 500;
}

.hero-image-container {
    position: relative;
}

.glass-image-wrapper {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: visible;
}

.hero-img {
    border-radius: 16px;
    width: 100%;
    box-shadow: var(--shadow-sm);
    object-fit: cover;
}

/* Floating Elements in Hero */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 13px;
    color: var(--text-charcoal);
    animation: float-slow 4s ease-in-out infinite;
}

.floating-badge.badge-1 {
    top: 15%;
    left: -40px;
}

.floating-badge.badge-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

.badge-icon {
    width: 20px;
    height: 20px;
    fill: var(--primary-teal);
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 2. Story Section */
.story-section {
    padding: 100px 0;
    background-color: var(--bg-pure-white);
}

.story-visual {
    position: relative;
    padding: 40px;
}

.decorative-card {
    background: var(--primary-gradient);
    color: var(--bg-pure-white);
    padding: 48px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.decorative-card::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    top: -20%;
    left: -20%;
}

.dec-year {
    font-family: var(--font-headings);
    font-size: 16px;
    font-weight: 800;
    color: var(--secondary-mint-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.decorative-card h3 {
    color: var(--bg-pure-white);
    font-size: 26px;
    margin-bottom: 12px;
}

.decorative-card p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 24px;
}

.dec-dots {
    display: flex;
    gap: 8px;
}

.dec-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--secondary-mint-accent);
}

.dec-dots span:nth-child(2) {
    background-color: var(--bg-pure-white);
    opacity: 0.5;
}

.dec-dots span:nth-child(3) {
    background-color: var(--bg-pure-white);
    opacity: 0.2;
}

.story-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.lead-text {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-charcoal);
    font-weight: 600;
    margin-bottom: 20px;
}

.story-text p {
    margin-bottom: 16px;
    font-size: 15px;
}

/* 3. Mission & Vision Section */
.mission-vision-section {
    padding: 100px 0;
    background-color: var(--bg-off-white);
}

.mv-card {
    background-color: var(--bg-pure-white);
    border-radius: 20px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--secondary-light-mint);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--secondary-mint-accent);
}

.icon-wrapper svg {
    width: 32px;
    height: 32px;
    fill: var(--secondary-green);
}

.mv-card h2 {
    font-size: 28px;
}

.mv-statement {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-charcoal);
    font-weight: 600;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.operational-framework h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary-dark-cyan);
}

.framework-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.framework-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.framework-list strong {
    color: var(--text-charcoal);
    font-family: var(--font-headings);
    font-size: 14px;
}

.framework-list span {
    font-size: 14px;
    color: var(--text-slate);
}

.vision-headline {
    font-size: 20px;
    color: var(--primary-teal);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.vision-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.vision-section-block h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-charcoal);
    margin-bottom: 8px;
}

.vision-section-block p {
    font-size: 14px;
    line-height: 1.6;
}

/* 4. Areas of Expertise Section */
.expertise-section {
    padding: 100px 0;
    background-color: var(--bg-pure-white);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 36px;
    margin: 10px 0 16px 0;
}

.section-description {
    font-size: 16px;
    color: var(--text-slate);
}

.expertise-card {
    background-color: var(--bg-off-white);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.expertise-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-pure-white);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-teal);
}

.expertise-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-pure-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    margin-bottom: 28px;
    position: relative;
}

.expertise-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary-teal);
}

.expertise-icon .custom-overlay-svg {
    position: absolute;
    width: 18px;
    height: 18px;
    bottom: 12px;
    right: 12px;
    fill: var(--secondary-green);
}

.expertise-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.expertise-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-slate);
}

.bullet-list {
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.bullet-list li {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bullet-list li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-green);
}

/* 5. Core Values Section */
.values-section {
    padding: 100px 0;
    background-color: var(--bg-off-white);
}

.value-card {
    background-color: var(--bg-pure-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.value-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.val-teal { background-color: rgba(0, 128, 128, 0.1); }
.val-teal svg { fill: var(--primary-teal); }

.val-green { background-color: rgba(46, 125, 50, 0.1); }
.val-green svg { fill: var(--secondary-green); }

.val-blue { background-color: rgba(30, 136, 229, 0.1); }
.val-blue svg { fill: #1e88e5; }

.val-gold { background-color: rgba(245, 124, 0, 0.1); }
.val-gold svg { fill: #f57c00; }

.value-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.val-desc {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--primary-dark-cyan);
    font-size: 13px;
    margin-bottom: 12px;
}

.value-card p:last-child {
    font-size: 13.5px;
    line-height: 1.5;
}

/* 6. Team Section */
.team-section {
    padding: 100px 0;
    background-color: var(--bg-pure-white);
}

.team-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.team-composition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.role-badge-card {
    background-color: var(--bg-off-white);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid var(--border-color);
}

.role-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: var(--bg-pure-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.role-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-teal);
}

.role-badge-card h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-charcoal);
}

.role-badge-card p {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-slate);
}

/* 7. Core Commitments Section */
.commitments-section {
    padding: 100px 0;
    background-color: var(--bg-off-white);
}

.commitment-column {
    background-color: var(--bg-pure-white);
    border-radius: 16px;
    padding: 40px;
    border-top: 4px solid var(--secondary-green);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.commitment-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.commitment-number {
    font-family: var(--font-headings);
    font-size: 32px;
    font-weight: 800;
    color: rgba(46, 125, 50, 0.15);
}

.commitment-column h3 {
    font-size: 22px;
}

.commitment-sub {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 13px;
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.commitment-column p:last-child {
    font-size: 14.5px;
    line-height: 1.6;
}

/* 8. CTA Section */
.cta-section {
    padding: 80px 24px;
    background-color: var(--bg-off-white);
}

.cta-container {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--primary-gradient);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    color: var(--bg-pure-white);
    box-shadow: 0 16px 40px rgba(0, 91, 92, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 245, 233, 0.1) 0%, transparent 60%);
}

.cta-container h2 {
    color: var(--bg-pure-white);
    font-size: 36px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-container p {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 36px auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

/* Contact Spacer */
.contact-section-placeholder {
    padding: 100px 0 80px 0;
    background-color: var(--bg-pure-white);
}

.contact-card {
    background-color: var(--bg-off-white);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.placeholder-text {
    font-size: 15px;
    color: var(--text-slate);
    margin-bottom: 32px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item strong {
    font-family: var(--font-headings);
    font-size: 14px;
    color: var(--text-charcoal);
}

.info-item span {
    font-size: 15px;
    color: var(--primary-teal);
    font-weight: 600;
}

/* Footer Spacer */
.footer-placeholder {
    background-color: var(--text-charcoal);
    color: var(--text-muted);
    padding: 40px 24px;
    text-align: center;
    font-size: 13px;
    font-family: var(--font-headings);
    border-top: 1px solid #37474F;
}

/* Animations Base Styles (Intersection Observer) */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-right {
    transform: translateX(40px);
}

.fade-in-up {
    transform: translateY(40px);
}

.scale-up {
    transform: scale(0.95);
}

/* Activated States */
.animate-on-scroll.animate-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 900px) {
    /* ---- CONTAINER & BODY ---- */
    html, body { overflow-x: hidden; }
    .section-container, .container { padding: 0 5vw; box-sizing: border-box; width: 100%; }

    /* ---- ALL GRIDS collapse to single column ---- */
    .grid-2col,
    .grid-3col,
    .grid-4col,
    .hero-grid,
    .team-composition-grid,
    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* ---- HERO SECTION ---- */
    .hero-section { padding: 40px 0 60px 0; }
    .hero-grid { display: flex; flex-direction: column; }
    .hero-title { font-size: 32px; }
    .floating-badge.badge-1 { left: -10px; top: 10px; }
    .floating-badge.badge-2 { right: -10px; bottom: 10px; }

    /* ---- NAV placeholder ---- */
    .nav-links-placeholder { display: none; }

    /* ---- CARDS & COMPONENTS ---- */
    .mv-card { padding: 28px; }
    .expertise-card { padding: 28px; }
    .role-badge-card { padding: 18px; }

    /* ---- SECTIONS ---- */
    .cta-container { padding: 40px 5vw; }
    .cta-buttons { flex-direction: column; gap: 12px; }
    .btn-secondary-cta { margin-left: 0; }

    /* ---- FOOTER ---- */
    .main-footer, footer { padding: 48px 5vw 28px !important; overflow: hidden; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; width: 100% !important; }
    .footer-links { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
    .footer-tagline { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 768px) {
    /* Additional small screen fixes */
    .footer-links { grid-template-columns: 1fr !important; }
    .hero-title { font-size: 28px; }
}



  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --teal:        #008080;
    --dark-cyan:   #005B5C;
    --meadow:      #2E7D32;
    --light-mint:  #E8F5E9;
    --charcoal:    #263238;
    --offwhite:    #F4F6F7;
    --ice:         #F4F6F7;
    --white:       #ffffff;
    --font-head:   'Montserrat', 'Inter', sans-serif;
    --font-body:   'Open Sans', sans-serif;
  }

  html { scroll-behavior: smooth; }

  body {
    background: var(--white);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 6vw;
    height: 72px;
    background: transparent;
    transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
  }
  nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,128,128,0.12);
  }

  .nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
  }
  .logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
    filter: brightness(1.1);
    transition: filter .4s;
  }
  nav.scrolled .logo-img {
    mix-blend-mode: multiply;
    filter: brightness(0.95);
  }
  .nav-brand {
    display: flex; flex-direction: column; line-height: 1.1;
  }
  .nav-brand-name {
    font-family: var(--font-head);
    font-size: 1.6rem; font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--white);
    transition: color .4s;
  }
  nav.scrolled .nav-brand-name { color: var(--teal); }
  .nav-brand-llp {
    font-family: var(--font-body);
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    transition: color .4s;
  }
  nav.scrolled .nav-brand-llp { color: #546e7a; }

  .nav-links {
    display: flex; gap: 2.4rem; list-style: none;
  }
  .nav-links a {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color .2s;
  }
  nav.scrolled .nav-links a { color: var(--charcoal) !important; }
  .nav-links a:hover { color: #80cbc4 !important; }
  nav.scrolled .nav-links a:hover { color: var(--teal) !important; }

  /* nav CTA button */
  .nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal);
    color: var(--white) !important;
    font-family: var(--font-body);
    font-size: 0.88rem; font-weight: 700;
    padding: 10px 22px;
    border: none; border-radius: 4px;
    cursor: pointer; text-decoration: none;
    transition: background .2s, transform .15s;
    letter-spacing: 0.02em;
  }
  .nav-cta:hover { background: var(--dark-cyan); transform: translateY(-1px); }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 14px 28px;
    border: none; border-radius: 4px;
    cursor: pointer; text-decoration: none;
    transition: background .2s, transform .15s;
    letter-spacing: 0.02em;
  }
  .btn-primary:hover { background: var(--dark-cyan); transform: translateY(-2px); }

  .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 28px;
    border: 2px solid rgba(255,255,255,0.55);
    border-radius: 4px;
    cursor: pointer; text-decoration: none;
    transition: background .2s, border-color .2s, transform .15s;
    letter-spacing: 0.02em;
    color: var(--white);
  }
  .btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); transform: translateY(-2px); }

  
  .nav-links a.active { color: #80cbc4; }
  nav.scrolled .nav-links a.active { color: var(--teal); }

  
      /* ── ABOUT HERO — full-bleed (matches index style) ── */
      .hero-section {
        position: relative !important;
        width: 100% !important; min-height: 100vh !important;
        display: flex !important; align-items: center !important;
        overflow: hidden !important;
        padding: 0 !important;
        background: none !important;
        border-bottom: none !important;
      }
      .hero-bg-img {
        position: absolute; inset: 0;
        background-image: url('https://images.unsplash.com/photo-1546445317-29f4545e9d53?w=1800&q=80&auto=format&fit=crop');
        background-size: cover; background-position: center 35%;
        transform: scale(1.04);
        animation: heroZoomAbout 12s ease-out forwards;
      }
      @keyframes heroZoomAbout { from { transform: scale(1.08); } to { transform: scale(1.0); } }
      .hero-overlay-dark {
        position: absolute; inset: 0;
        background: linear-gradient(100deg, rgba(0,30,30,0.88) 0%, rgba(0,50,40,0.75) 45%, rgba(0,0,0,0.25) 100%);
      }
      .hero-grid-texture {
        position: absolute; inset: 0;
        background-image: linear-gradient(rgba(0,200,180,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,200,180,0.04) 1px, transparent 1px);
        background-size: 52px 52px; pointer-events: none;
      }
      .hero-inner {
        position: relative; z-index: 2;
        max-width: 780px; padding: 0 6vw;
        padding-top: 72px;
      }
      .hero-eyebrow-tag {
        display: inline-block; font-family: 'Open Sans', sans-serif;
        font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
        color: #80cbc4; background: rgba(0,128,128,0.28); border: 1px solid rgba(0,200,180,0.3);
        padding: 5px 16px; border-radius: 2px; margin-bottom: 28px;
        opacity: 0; transform: translateY(16px);
        animation: aFadeUp .6s .1s ease forwards;
      }
      .hero-section h1 {
        font-family: 'Montserrat', sans-serif !important;
        font-size: clamp(2.2rem, 4vw, 3.6rem) !important;
        font-weight: 900 !important; line-height: 1.08 !important;
        color: #fff !important; letter-spacing: -0.03em !important;
        margin-bottom: 24px !important;
        opacity: 0; transform: translateY(22px);
        animation: aFadeUp .7s .25s ease forwards;
      }
      .hero-section h1 em { font-style: normal; color: #80cbc4; display: block; }
      .hero-sub-text {
        font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.76);
        max-width: 520px; margin-bottom: 40px;
        opacity: 0; transform: translateY(22px);
        animation: aFadeUp .7s .4s ease forwards;
      }
      .hero-cta-row {
        display: flex; gap: 16px; flex-wrap: wrap;
        opacity: 0; transform: translateY(18px);
        animation: aFadeUp .6s .55s ease forwards;
      }
      .hero-btn-primary {
        display: inline-flex; align-items: center; gap: 8px;
        background: #008080; color: #fff;
        font-family: 'Open Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
        padding: 14px 28px; border: none; border-radius: 4px;
        cursor: pointer; text-decoration: none;
        transition: background .2s, transform .15s;
      }
      .hero-btn-primary:hover { background: #005B5C; transform: translateY(-2px); }
      .hero-btn-secondary {
        display: inline-flex; align-items: center; gap: 8px;
        background: transparent; color: #fff;
        font-family: 'Open Sans', sans-serif; font-size: 0.95rem; font-weight: 700;
        padding: 13px 28px; border: 2px solid rgba(255,255,255,0.55); border-radius: 4px;
        cursor: pointer; text-decoration: none;
        transition: background .2s, border-color .2s, transform .15s;
      }
      .hero-btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.9); transform: translateY(-2px); }
      .hero-scroll-cue {
        position: absolute; bottom: 40px; right: 6vw; z-index: 3;
        display: flex; flex-direction: column; align-items: center; gap: 8px;
        opacity: 0; animation: aFadeUp .6s .9s ease forwards;
      }
      .hero-scroll-cue span { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
      .scroll-line-cue { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scrollPulseAbout 2s 1.5s ease-in-out infinite; }
      @keyframes scrollPulseAbout { 0%,100%{opacity:.4;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }
      @keyframes aFadeUp { to { opacity: 1; transform: translateY(0); } }


  /* ── FOOTER ── */
  
  .main-footer {
    background: #092c28;
    padding: 64px 6vw 32px;
    color: rgba(255,255,255,0.7);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
  }

  .footer-brand {
    display: flex; flex-direction: column; gap: 16px;
  }

  .footer-logo-row {
    display: flex; align-items: center; gap: 12px;
  }

  .footer-logo-img {
    height: 40px; width: auto;
    object-fit: contain;
    mix-blend-mode: lighten;
    filter: brightness(1.1);
    opacity: 0.9;
  }

  .footer-company-name {
    font-family: var(--font-head);
    font-size: 1.4rem; font-weight: 900;
    color: var(--white);
    letter-spacing: -0.02em;
  }

  .footer-address {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.6);
    font-style: normal;
    margin-top: -8px;
    margin-bottom: 8px;
  }

  .footer-tagline {
    font-size: 0.95rem; line-height: 1.6;
    color: rgba(255,255,255,0.6);
    max-width: 320px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-links ul {
    list-style: none;
    display: flex; flex-direction: column; gap: 12px;
    padding: 0; margin: 0;
  }

  .footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
  }

  .footer-links a:hover {
    color: var(--teal);
  }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
  }

  

  /* ── FULL PAGE MENU (TABBED) ── */
  
  .full-page-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(17, 42, 37, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    color: var(--white);
    display: flex; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .full-page-menu.open { opacity: 1; pointer-events: auto; }
  
  .fpm-header {
    display: flex; justify-content: flex-end; align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .fpm-close-btn {
    width: 44px; height: 44px; border-radius: 8px;
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: var(--white); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .fpm-close-btn:hover { background: rgba(255,255,255,0.1); }
  
  .fpm-body {
    flex: 1; display: flex; overflow: hidden;
  }
  .fpm-sidebar {
    width: 280px; border-right: 1px solid rgba(255,255,255,0.05);
    padding: 16px 0; overflow-y: auto; flex-shrink: 0;
  }
  .fpm-nav-list { list-style: none; padding: 0; margin: 0; }
  .fpm-nav-list li {
    padding: 12px 30px; cursor: pointer;
    font-family: var(--font-head); font-size: 1rem; font-weight: 700;
    color: rgba(255,255,255,0.8);
    display: flex; justify-content: space-between; align-items: center;
    transition: background 0.2s, color 0.2s;
  }
  .fpm-nav-list li:hover { color: var(--white); }
  .fpm-nav-list li.active {
    background: rgba(255,255,255,0.05); color: var(--white);
  }
  .fpm-nav-list li .arrow {
    font-family: monospace; font-size: 1rem; color: rgba(255,255,255,0.4);
  }
  .fpm-nav-list li.active .arrow { transform: rotate(90deg); }
  
  .fpm-nav-list a { color: inherit; text-decoration: none; display: flex; width: 100%; justify-content: space-between; align-items: center; }
  
  .fpm-content {
    flex: 1; padding: 24px 40px; overflow-y: auto;
  }
  .fpm-panel { display: none; }
  .fpm-panel.active { display: block; animation: fadeIn 0.3s; }
  @keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }
  
  .fpm-panel-title {
    font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em;
    color: var(--teal); margin-bottom: 20px; text-transform: uppercase;
  }
  
  .fpm-items { display: flex; flex-direction: column; gap: 16px; }
  .fpm-items.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fpm-item {
    display: flex; align-items: flex-start; gap: 12px;
    text-decoration: none; color: var(--white);
    padding: 8px; border-radius: 8px; transition: background 0.2s;
  }
  .fpm-item:hover { background: rgba(255,255,255,0.03); }
  
  .fpm-icon {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(0, 128, 128, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--light-mint); flex-shrink: 0;
  }
  .fpm-icon svg { width: 18px; height: 18px; }
  
  .fpm-text h5 {
    font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px;
    color: var(--white) !important;
  }
  .fpm-text p {
    font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.4; margin: 0;
  }
  
  .fpm-view-detail {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 24px; padding: 8px 16px; border-radius: 20px;
    border: 1px solid var(--light-mint);
    color: var(--light-mint); font-size: 0.85rem; font-weight: 700;
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em;
    transition: all 0.3s ease;
  }
  .fpm-view-detail .arrow { transition: transform 0.3s ease; }
  .fpm-view-detail:hover {
    background: var(--light-mint); color: var(--dark-cyan);
  }
  .fpm-view-detail:hover .arrow { transform: translateX(4px); }
  
  .fpm-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 16px 40px; display: flex; justify-content: space-between; align-items: center;
  }
  .fpm-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
  .fpm-footer-links a {
    color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.85rem; font-weight: 600;
  }
  .fpm-footer-links a:hover { color: var(--white); }
  
  .fpm-footer-btn {
    padding: 10px 20px; border-radius: 6px;
    background: var(--light-mint);
    color: var(--dark-cyan); font-weight: 700; text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    border: none;
  }
  .fpm-footer-btn:hover { background: var(--white); transform: translateY(-1px); }

@media (max-width: 900px) {
  /* Hide desktop nav links; show only the hamburger Menu button */
  .nav-links { display: none !important; }

  /* Mobile nav: shrink padding so logo + button don't overflow */
  nav { padding: 0 4vw; }

  /* Scale down brand name slightly */
  .nav-brand-name { font-size: 1.25rem; }

  /* Smaller "Schedule a demo" button in full-page menu footer */
  .fpm-footer-btn { padding: 6px 12px; font-size: 0.75rem; border-radius: 4px; }

  /* MOBILE MENU FIX — accordion layout */
  .fpm-body { flex-direction: column; overflow-y: auto; }
  .fpm-sidebar { width: 100%; border-right: none; height: auto; overflow: visible; padding: 0; }
  .fpm-nav-list li { flex-direction: column; justify-content: center; text-align: center; padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .fpm-nav-list a { justify-content: center; }
  .fpm-nav-list li > span.arrow { display: none; }
  .fpm-content { display: none; }
  .fpm-panel { position: static !important; width: 100%; background: transparent; padding: 10px 0; margin-top: 10px; }
  .fpm-panel-title { display: none; }
  .fpm-items { grid-template-columns: 1fr !important; gap: 10px; }
  .fpm-item { text-align: center; justify-content: center; background: rgba(255,255,255,0.03); }
  .fpm-item:hover { background: rgba(255,255,255,0.08); }
}
