/* SERI — dark teal theme matching seri-scholar.base44.app */
:root {
--bg: #062022;
--bg-header: #071f24;
--card: #091b1e;
--card-border: rgba(232, 197, 71, 0.18);
--yellow: #e8c547;
--orange: #c97e2c;
--text: #e9eef0;
--muted: #9db5b7;
--light-card: #e9eef0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: 'Inter', 'Padauk', sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.7;
}
h1, h2, h3 { font-weight: 700; line-height: 1.5; margin-top: 0; color: #ffffff; }
.lang-mm { font-family: 'Padauk', 'Inter', sans-serif; }
/* Language toggle */
body:not(.mm-active) .lang-mm { display: none !important; }
body.mm-active .lang-en { display: none !important; }
/* ---------- Header ---------- */
header {
background: var(--bg-header);
border-bottom: 2px solid var(--yellow);
position: sticky; top: 0; z-index: 100;
box-shadow: 0 10px 15px rgba(0.2, 0.2, 0.2, 1.3);
}
.nav-inner {
max-width: 1240px; margin: auto;
padding: 20px 40px;
display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo-img { height: 54px; width: auto; display: block; }
.footer-logo { height: 64px; }
.logo-badge {
width: 42px; height: 42px; background: var(--yellow); color: #0d2f31;
border-radius: 10px; display: flex; align-items: center; justify-content: center;
font-weight: 600; font-size: 1.25em;
}
.logo-name { color: #fff; font-weight: 700; font-size: 1.3em; letter-spacing: 0.01em; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
nav a {
padding: 8px 14px; text-decoration: none; color: var(--text);
font-weight: 400; font-size: 1em;
transition: color 0.2s ease;
}
nav a:hover { color: var(--yellow); }
nav a.active { color: var(--yellow); box-shadow: inset 0 -2px 0 var(--yellow); }
nav a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.lang-btn {
background: transparent; color: var(--yellow); border: 1.5px solid var(--yellow);
padding: 9px 18px; border-radius: 8px; cursor: pointer;
font-weight: 500; margin-left: 14px; font-family: 'Inter', 'Padauk', sans-serif; font-size: 1em;
transition: all 0.2s ease;
}
.lang-btn:hover { background: rgba(232, 197, 71, 0.12); }
.lang-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
/* ---------- Buttons ---------- */
.btn {
display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px;
border-radius: 8px; text-decoration: none; font-weight: 500; font-size: 1em;
transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
border: none;
cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-yellow { background: var(--yellow); color: #0d2f31; }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-ghost-dark { background: transparent; color: #19393b; border: 1.5px solid #19393b; }
.btn-ghost-dark:hover { background: rgba(25, 57, 59, 0.1); }
/* ---------- Home hero ---------- */
.hero {
min-height: 100vh;
display: flex; align-items: center; justify-content: center; text-align: center;
background-size: cover; background-position: center;
position: relative; padding: 80px 40px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(7, 24, 26, 0.62); }
.hero-content { position: relative; max-width: 1100px; width: 100%; z-index: 1; }
.hero-eyebrow { color: #d4dee0; font-size: clamp(1.5em, 2.5vw, 2em); margin-bottom: 16px; font-family: 'Padauk', sans-serif; }
.hero h1 {
font-size: clamp(1.1em, 4.2vw, 3em);
margin: 0 0 60px; color: #fff;
letter-spacing: -0.01em;
overflow-wrap: break-word;
}
.hero-divider {
display: flex; align-items: center; justify-content: center; gap: 20px;
color: var(--orange); font-weight: 600; letter-spacing: 0.45em;
margin-bottom: 40px; font-size: 0.9em;
}
.hero-divider::before, .hero-divider::after { content: ""; width: 100px; height: 2px; background: var(--orange); }
.hero-tagline {
font-style: italic;
font-size: clamp(0.65em, 1.6vw, 1.2em);
color: #e3eaeb;
margin-bottom: 40px;
overflow-wrap: break-word;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-20%); width: 26px; height: 44px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px; animation: bounce 2s infinite; }
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-20%); width: 10px; height: 9px; background: rgba(255,255,255,0.7); border-radius: 4px; }
@keyframes bounce {
0%, 100% { transform: translateX(-20%) translateY(0); }
50% { transform: translateX(-20%) translateY(8px); }
}
/* ---------- Statement sections (Vision / Mission) ---------- */
.statement { padding: 100px 24px; text-align: center; }
.statement h2 {
font-size: clamp(2em, 4.5vw, 2.8em);
margin-bottom: 50px;
font-weight: 700;
letter-spacing: -0.015em;
color: #ffffff;
}
.statement p {
max-width: 900px;
margin: 0 auto 28px;
font-size: clamp(1.15em, 1.6vw, 1.4em);
color: var(--muted);
line-height: 1.95;
letter-spacing: 0.005em;
font-weight: 400;
}
.statement p:last-child {
font-size: clamp(1.05em, 1.5vw, 1.25em);
font-weight: 500;
color: #d4dee0;
}
/* ---------- What We Do ---------- */
.section { max-width: 1000px; margin: auto; padding: 60px 20px; }
.section-title { text-align: center; font-size: clamp(1.8em, 4vw, 2.5em); margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--muted); font-size: clamp(1em, 1.5vw, 1.25em); margin: 0 0 64px; }
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 800px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
background: var(--card); border: 1px solid var(--card-border); border-radius: 16px;
overflow: hidden; text-decoration: none; display: block;
transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.pillar:hover {
transform: translateY(-5px);
border-color: rgba(232, 197, 71, 0.55);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.pillar img { width: 100%; height: 300px; object-fit: cover; display: block; }
.pillar-body { padding: 28px 30px 34px; }
.pillar-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pillar-title h3 { font-size: 1.7em; margin: 0; color: #fff; transition: color 0.2s ease; }
.pillar:hover .pillar-title h3 { color: var(--yellow); }
.pillar-arrow { color: var(--yellow); font-size: 1.4em; }
.pillar-body p { color: var(--muted); font-size: 1.05em; margin: 14px 0 0; }
/* ---------- CTA ---------- */
.cta-wrap { max-width: 1200px; margin: auto; padding: 40px 28px 110px; }
.cta-card {
background: var(--light-card); color: #16383a; border-radius: 26px;
padding: 30px 40px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.cta-card h2 { color: #122e30; font-size: clamp(1.8em, 4vw, 3em); margin-bottom: 24px; }
.cta-card p { font-size: clamp(1em, 1.5vw, 1.3em); color: #3d5a5c; max-width: 38em; margin: 0 0 40px; }
.cta-actions { display: flex; gap: 18px; flex-wrap: wrap; }
/* ---------- Interior page hero ---------- */
.page-hero { padding: 90px 24px 70px; text-align: center; }
.page-hero.has-bg { position: relative; background-size: cover; background-position: center; padding: 120px 24px 100px; }
.page-hero.has-bg::before { content: ""; position: absolute; inset: 0; background: rgba(7, 24, 26, 0.72); }
.page-hero.has-bg h1, .page-hero.has-bg p { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.6em, 3.5vw, 2.2em); margin: 0; }
.page-hero p { color: var(--muted); font-size: 1.0em; margin: 16px auto 0; max-width: 44em; }
/* ---------- Cards reused on interior pages ---------- */
.horizontal-card {
display: flex; background: var(--card); border: 1px solid var(--card-border);
border-left: 5px solid var(--yellow); border-radius: 14px; overflow: hidden;
transition: box-shadow 0.2s ease, transform 0.2s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.horizontal-card:hover {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
transform: translateY(-2px);
}
.horizontal-card img { width: 40%; object-fit: cover; }
.horizontal-card .content { padding: 30px; flex: 1; }
.horizontal-card .content h3 { margin-top: 0; transition: color 0.2s ease; }
.horizontal-card:hover .content h3 { color: var(--yellow); }
.horizontal-card .content p { color: var(--muted); }
.read-link {
color: var(--yellow); font-weight: 600; text-decoration: none;
border-bottom: 2px solid var(--yellow);
transition: opacity 0.2s ease;
}
.read-link:hover { opacity: 0.8; }
.read-link:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.event-card {
background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
display: flex; gap: 26px; padding: 28px; align-items: flex-start;
transition: box-shadow 0.2s ease, transform 0.2s ease;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.event-card:hover {
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
transform: translateY(-2px);
}
.event-date {
background: var(--yellow); color: #0d2f31; border-radius: 10px;
text-align: center; padding: 14px 18px; min-width: 90px; font-weight: 700;
flex-shrink: 0;
}
.event-date .day { font-size: 1.9em; display: block; line-height: 1.1; }
.event-date .month { font-size: 0.8em; letter-spacing: 0.06em; text-transform: uppercase; }
.event-card h3 { margin: 0 0 6px; font-size: 1.25em; color: #fff; transition: color 0.2s ease; }
.event-card:hover h3 { color: var(--yellow); }
.event-card p { margin: 0 0 4px; color: var(--muted); }
.event-card .speaker { font-weight: 600; color: var(--text) !important; }
.empty {
border: 1.5px dashed rgba(232,197,71,0.35); border-radius: 14px;
padding: 40px 24px; text-align: center; color: var(--muted);
background: rgba(255,255,255,0.02);
}
.section-h2 { font-size: 2em; margin-bottom: 26px; }
/* ---------- Footer ---------- */
footer { background: var(--bg-header); border-top: 2px solid var(--yellow); margin-top: 50px; }
.footer-inner {
max-width: 1200px; margin: auto; padding: 64px 28px 40px;
display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-tagline { color: var(--muted); margin: 0 0 26px; }
.social-row { display: flex; gap: 14px; }
.social-row a {
width: 42px; height: 42px; border-radius: 50%;
background: rgba(232,197,71,0.12); color: var(--yellow);
display: flex; align-items: center; justify-content: center; text-decoration: none;
transition: all 0.2s ease;
}
.social-row a:hover { background: var(--yellow); color: #0d2f31; transform: translateY(-3px); }
.social-row a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.social-row svg { width: 20px; height: 20px; fill: currentColor; }
footer h4 { color: var(--yellow); letter-spacing: 0.18em; font-size: 0.85em; text-transform: uppercase; margin: 0 0 20px; }
.footer-links a {
color: #cfdcdd; text-decoration: none; display: block; padding: 7px 0; font-size: 1.05em;
transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--yellow); }
.footer-links a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.footer-bottom { border-top: 1px solid rgba(232,197,71,0.2); text-align: left; padding: 24px 28px; color: var(--muted); max-width: 1280px; margin: auto; font-size: 0.9em; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
.hero { padding: 40px 20px; }
.hero h1 { margin-bottom: 24px; }
.hero-tagline { margin-bottom: 24px; }
.hero-divider::before, .hero-divider::after { width: 50px; }
.statement h2, .section-title, .cta-card h2 { font-size: 1.8em; }
.statement p { font-size: 1.1em; }
.pillar-grid { grid-template-columns: 1fr; gap: 28px; }
.pillar img { height: 250px; }
.cta-card { padding: 30px; }
.horizontal-card { flex-direction: column; }
.horizontal-card img { width: 100%; height: 200px; }
.event-card { flex-direction: column; }
.footer-inner { grid-template-columns: 1fr; gap: 36px; }
.nav-inner { flex-direction: column; align-items: flex-start; }
nav { width: 100%; }
}
@media (max-width: 600px) {
.hero { padding: 30px 16px; }
.hero h1 { margin-bottom: 16px; font-size: clamp(1.1em, 6.5vw, 2em); }
.hero-tagline { font-size: clamp(0.6em, 3.2vw, 1em); }
.hero-actions { flex-direction: column; }
.btn { width: 100%; justify-content: center; }
.statement { padding: 60px 16px; }
.section { padding: 40px 16px; }
.cta-wrap { padding: 30px 16px 80px; }
.cta-card { padding: 20px; }
.footer-inner { padding: 40px 16px 30px; gap: 24px; }
.nav-inner { padding: 12px 16px; gap: 12px; }
nav a { padding: 6px 10px; font-size: 0.9em; }
.lang-btn { padding: 8px 14px; margin-left: 8px; font-size: 0.9em; }
}
@media (prefers-reduced-motion: reduce) {

* { transition: none !important; animation: none !important; }
html { scroll-behavior: auto; }
}
Changes from prior version: body { margin: 0; }, h1,h2,h3 { margin-top: 0; } (invalid units fixed). Removed white-space: nowrap, overflow: hidden, text-overflow: ellipsis from .hero h1 and .hero-tagline; added overflow-wrap: break-word so longer CMS-entered text wraps instead of truncating. Everything else unchanged from the previous revision.
