:root {
    --navy: #0b2e59;
    --navy-dark: #081f3d;
    --blue: #1a5da6;
    --blue-light: #e8f0fa;
    --orange: #F24A00;
    --orange-dark: #e94700;
    --orange-hover: #f26100;
    --green: #139c47;
    --green-dark: #0f7e3a;
    --dark: #212529;
    --cream: #fff0d9;
    --gold: #F24A00;
    --gold-dark: #e94700;
    --text: #2b2b2b;
    --muted: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
}

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

body {
    font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    color: #2B2A27;
    line-height: 1.6;
    background: var(--white);
}

/* typography scale */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", "Segoe UI", sans-serif;
    color: #2B2A27;
}
h1 { font-size: 30px; font-weight: 400; line-height: 1.3; }
h2 { font-size: 28px; font-weight: 400; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.35; }
h4 { font-size: 24px; font-weight: 700; }
h5 { font-size: 20px; font-weight: 700; }
h6 { font-size: 18px; font-weight: 800; }

p {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header: top colour strip ---------- */
.header {
    background: var(--white);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 60;
}
.top-strip {
    display: grid;
    grid-template-columns: 2fr 5fr 3fr 2fr;
    align-items: stretch;
}
.top-strip.no-announcement {
    grid-template-columns: 6fr 3fr 2fr;
}
.strip-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--white);
}
.strip-green {
    background: var(--green);
    padding: 8.5px;
    font-weight: 700;
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
}
.strip-green span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.strip-orange { background: var(--orange-dark); overflow: hidden; padding: 8.5px 0; }

/* Contact block: orange fill inside a thin white frame */
.strip-contact { background: var(--white); padding: 3px; }
.strip-contact-inner {
    background: #f26100;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    padding: 4px 10px;
}
.strip-contact-inner a { color: var(--white); font-weight: 600; font-size: 16px; white-space: nowrap; }
.strip-contact-inner a:hover { color: var(--white); text-decoration: underline; }

.strip-yellow { background: #F19D00; padding: 2px; }
.social-icons { display: flex; align-items: center; justify-content: center; }
.social-icons a {
    color: var(--white);
    margin: 0 2px;
    font-size: 18px;
    font-weight: 700;
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
}
.social-icons a:hover { opacity: 0.75; }

/* News ticker inside orange strip */
.news-ticker { width: 100%; overflow: hidden; }
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-scroll 30s linear infinite;
}
.news-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
    display: inline-block;
    margin-right: 3rem;
    font-weight: 500;
    color: var(--white);
}
.ticker-item b { font-weight: 700; }
.ticker-item:hover { color: var(--white); text-decoration: underline; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* ---------- Header bottom: logo + menu ---------- */
.header-bottom { background: var(--white); }
.header-bottom.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    animation: header-slide-down 0.25s ease;
}
@keyframes header-slide-down {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.header-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.brand-logo {
    width: 48px; height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand > span:last-child { display: flex; flex-direction: column; }
.brand-name {
    font-family: "Poppins", sans-serif;
    font-size: 19px; font-weight: 700; color: var(--dark);
    line-height: 1.15; letter-spacing: 0.2px;
}
.brand-tagline { font-size: 12px; color: var(--muted); }

.btn {
    display: inline-block;
    padding: 13px 21px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-gold { background: var(--orange); color: var(--white); }
.btn-gold:hover { background: var(--orange-dark); color: var(--white); }
.btn-navy { background: var(--green); color: var(--white); }
.btn-navy:hover { background: var(--green-dark); color: var(--white); }
.btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.75);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* ---------- Navigation (inside header bottom) ---------- */
.nav-list { display: flex; flex-wrap: wrap; align-items: center; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: block;
    color: #000000;
    padding: 22px 16px;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.nav-list > li > a:hover,
.nav-list > li.open > a,
.nav-list > li.active > a { color: var(--orange-hover); }
.nav-list .caret { font-size: 12px; }
.nav-list .nav-home { color: var(--orange); display: flex; align-items: center; }
.nav-list .nav-home:hover,
.nav-list > li.active .nav-home { color: var(--orange-dark); }
.nav-list .nav-home svg { display: block; }

.dropdown {
    position: absolute;
    top: 100%; left: 0;
    min-width: 260px;
    padding: 15px;
    background: var(--cream);
    border-top: 3px solid var(--orange);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    opacity: 0; visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
}
.nav-list > li:hover .dropdown,
.nav-list > li.open .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
    display: block;
    padding: 9px 10px;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dropdown a:hover,
.dropdown a.active { background: var(--white); color: var(--orange-hover); padding-left: 16px; transition: all 0.15s ease; }
.dropdown a.active { font-weight: 600; }

.nav-toggle {
    display: none;
    background: none; border: none;
    color: #000000; font-size: 24px;
    padding: 10px; cursor: pointer;
}

/* ---------- Hero slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-dark); }
.hero-slide {
    display: none;
    position: relative;
    min-height: 460px;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { display: block; animation: fadeIn 0.7s ease; }
@keyframes fadeIn { from { opacity: 0.4; } to { opacity: 1; } }
.hero-slide::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8, 31, 61, 0.85) 0%, rgba(8, 31, 61, 0.45) 55%, rgba(8, 31, 61, 0.15) 100%);
}
.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 20px;
    color: var(--white);
}
.hero-content h2 {
    font-family: "Playfair Display", serif;
    font-size: 60px; font-weight: 700;
    color: var(--white);
    max-width: 760px; line-height: 1.15;
    margin-bottom: 16px;
}
.hero-content p { font-size: 18px; font-weight: 400; line-height: 1.6; max-width: 560px; margin-bottom: 28px; color: #dbe4f0; }
.hero-dots {
    position: absolute; bottom: 22px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 5;
}
.hero-dots button {
    width: 12px; height: 12px; border-radius: 50%;
    border: none; cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
}
.hero-dots button.active { background: var(--orange); }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: none; cursor: pointer;
    width: 46px; height: 46px; border-radius: 50%;
    font-size: 20px;
    transition: background 0.2s ease;
}
.hero-arrow:hover { background: var(--orange); color: var(--white); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section.alt { background: #f6f8fb; }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px; color: #2B2A27; font-weight: 600; line-height: 46px;
    display: inline-block; position: relative; padding-bottom: 14px;
}
.section-head h2::after {
    content: "";
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 4px;
    background: var(--orange); border-radius: 2px;
}
.section-head p { color: var(--muted); margin-top: 10px; }

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(8, 31, 61, 0.12); }
.card-img { height: 190px; background: var(--blue-light); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--orange-hover); font-size: 34px; font-weight: 800;
}
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.card-title { font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; color: #2B2A27; margin-bottom: 10px; line-height: 24px; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--blue); }
.card-text { font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--muted); flex: 1; }
.card-link {
    margin-top: 14px;
    font-size: 14px; font-weight: 600; color: var(--orange-dark);
}
.card-link:hover { color: var(--navy); }

/* About split */
.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.about-split h2 {
    font-family: "Playfair Display", serif;
    font-size: 30px; font-weight: 600; line-height: 46px; color: #2B2A27; margin-bottom: 18px;
}
.about-split p { color: #4b5563; margin-bottom: 14px; }
.about-visual {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    border-radius: 10px;
    min-height: 330px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    padding: 32px;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; width: 100%; }
.stat { text-align: center; }
.stat b { display: block; font-size: 36px; color: var(--orange-hover); }
.stat span { font-size: 14px; color: #cdd8e6; }

/* Event list item */
.event-row {
    display: flex; gap: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    align-items: center;
    transition: box-shadow 0.2s ease;
}
.event-row:hover { box-shadow: 0 10px 24px rgba(8, 31, 61, 0.1); }
.event-date {
    flex-shrink: 0;
    width: 74px; height: 74px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.event-date b { font-size: 24px; color: var(--orange-hover); line-height: 1; }
.event-date span { font-size: 12px; text-transform: uppercase; }
.event-info h3 { font-size: 17px; font-weight: 600; line-height: 24px; color: #2B2A27; margin-bottom: 4px; }
.event-info h3 a { color: inherit; }
.event-info h3 a:hover { color: var(--orange-hover); }
.event-info p { font-size: 14px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* CTA band */
.cta-band {
    background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 52px 0;
}
.cta-band .container {
    display: flex; justify-content: space-between; align-items: center;
    gap: 26px; flex-wrap: wrap;
}
.cta-band h2 { font-family: "Playfair Display", serif; font-size: 30px; font-weight: 600; color: var(--white); }
.cta-band p { color: #dbe4f0; margin-top: 6px; }

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue) 100%);
    color: var(--white);
    padding: 56px 0;
}
.page-banner h1 { font-family: "Playfair Display", serif; font-size: 36px; font-weight: 700; color: var(--white); }
.breadcrumb { margin-top: 8px; font-size: 14px; color: #b9c7d9; }
.breadcrumb a { color: var(--orange-hover); }

.page-content { padding: 56px 0; }
.prose { max-width: 860px; margin: 0 auto; font-size: 16px; color: #2B2A27; }
.prose h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px; font-weight: 600;
    color: #2B2A27; margin: 28px 0 12px;
}
.prose h3 { font-size: 20px; font-weight: 600; color: #2B2A27; margin: 22px 0 10px; }
.prose p { font-size: 16px; font-weight: 300; line-height: 30px; margin-bottom: 16px; }
.prose ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.prose li { font-size: 16px; font-weight: 300; line-height: 30px; }
.prose img { border-radius: 8px; margin: 18px 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 93, 166, 0.15); }
textarea.form-control { min-height: 140px; resize: vertical; }

.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; font-size: 14.5px; }
.alert-success { background: #e7f6ec; color: #14532d; border: 1px solid #bbe5c8; }
.alert-danger { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }

/* ---------- Pagination ---------- */
.pagination-wrap { margin-top: 36px; display: flex; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #d7dbdf; }
.footer-main { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 {
    color: var(--white); font-size: 16px;
    margin-bottom: 18px; padding-bottom: 10px;
    position: relative;
}
.footer h4::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 42px; height: 3px; background: var(--orange);
}
.footer { font-family: "Poppins", sans-serif; }
.footer p, .footer li { font-size: 14px; margin-bottom: 8px; }
.footer a { color: #ffffff; font-weight: 500; }
.footer-bottom span { font-weight: 600; }
.footer a:hover { color: var(--orange-hover); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 0;
    font-size: 13.5px;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
    .nav-list > li > a { padding: 22px 14px; font-size: 15px; }
}

@media (max-width: 1200px) {
    .nav-list > li > a { padding: 22px 13px; font-size: 14px; }
}

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-split { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 38px; }
    .top-strip { grid-template-columns: 1fr 1fr; }
    .strip-orange { grid-column: 1 / -1; order: 3; }

    .nav-toggle { display: block; }
    .nav-list {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .nav-list.show { display: flex; }
    .nav-list > li > a { padding: 13px 6px; font-size: 15px; border-bottom: 1px solid var(--border); }
    .dropdown {
        position: static;
        opacity: 1; visibility: visible; transform: none;
        display: none;
        box-shadow: none;
        min-width: 100%;
    }
    .nav-list > li:hover .dropdown { display: none; }
    .nav-list > li.open .dropdown { display: block; opacity: 1; visibility: visible; }
}

@media (max-width: 700px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .top-strip { grid-template-columns: 1fr; }
    .strip-orange { grid-column: auto; }
    .hero-content { padding: 70px 20px; }
    .hero-content h2 { font-size: 26px; }
}
