﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green-900: #073d2e;
    --green-800: #0a5c45;
    --green-700: #0d7a5c;
    --green-600: #10a070;
    --green-100: #d4ece4;
    --green-50: #edf7f3;
    --gold: #c9a227;
    --gold-bg: #fdf8ec;
    --gold-border: #e8d48a;
    --text-primary: #1a2420;
    --text-secondary: #4a6259;
    --text-muted: #8fa59f;
    --border: #dce6e2;
    --bg: #f0f4f2;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

body {
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.site-header {
    background: var(--green-800);
    border-bottom: 3px solid var(--gold);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    flex-shrink: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo-icon {
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-logo-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.header-logo-text {
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.header-logo-title {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-title {
    color: white;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-sub {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

.header-logo-sub {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 2px;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.15s, border-color 0.15s;
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.btn-register {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--gold);
    border: none;
    border-radius: 6px;
    color: var(--green-900);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.15s;
}

.btn-register:hover {
    background: #b8911f;
}

/* Main */
main {
    flex: 1;
    padding: 36px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero Band */
.hero-band {
    background: linear-gradient(130deg, var(--green-800) 0%, var(--green-700) 55%, var(--green-600) 100%);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.hero-band::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}

.hero-title {
    font-size: 38px;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
    line-height: 1.1;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.70);
    line-height: 1.65;
    max-width: 520px;
}

.header-badge {
    background: rgba(201,162,39,0.18);
    border: 1px solid rgba(201,162,39,0.45);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-lockup {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    flex-shrink: 0;
}

/* Two-Column Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-md);
    border: 0.5px solid var(--border);
    padding: 28px 28px 24px;
    box-shadow: 0 1px 6px rgba(10,92,69,0.05);
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-700);
    margin-bottom: 22px;
}

.card-heading .bi {
    font-size: 16px;
}

/* Contact Rows */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--border);
}

.contact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--green-50);
    border: 0.5px solid var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-700);
    font-size: 15px;
}

.contact-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-700);
    text-decoration: none;
    display: block;
}

a.contact-value:hover {
    text-decoration: underline;
}

.contact-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* CSC Link / Button */
.csc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--green-700);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.csc-btn:hover {
    text-decoration: underline;
}

/* Call Centre Hours Table */
.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 14px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--text-secondary);
}

.hours-time {
    font-weight: 500;
    color: var(--text-primary);
}

.hours-closed {
    font-weight: 500;
    color: var(--text-muted);
}

.brand-logo {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

/* Mobile App Block */
.app-heading {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-700);
    margin-top: 24px;
    margin-bottom: 10px;
}

.app-heading .bi {
    font-size: 15px;
}

.app-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.5;
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    background: white;
    transition: border-color 0.15s;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.app-badge:hover {
    border-color: var(--green-700);
}

.app-badge .bi {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Important Notice */
.notice-banner {
    background: var(--gold-bg);
    border: 1px solid var(--gold-border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notice-banner .bi {
    color: var(--gold);
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 1px;
}

.notice-content {
}

.notice-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #7a5c00;
    margin-bottom: 6px;
}

.notice-text {
    font-size: 13px;
    color: #5a4200;
    line-height: 1.6;
}

.notice-text strong {
    font-weight: 600;
}

.notice-text a {
    color: #7a5c00;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--green-900);
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

footer p {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 11px;
    color: rgba(255,255,255,0.38);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.75);
}

/* CSC Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    animation: modalIn 0.2s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: var(--green-800);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--gold);
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header-icon {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.12);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 17px;
}

.modal-header-title {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.modal-header-sub {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    margin-top: 1px;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.65);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s;
}

.modal-close:hover {
    color: white;
}

.modal-body {
    padding: 20px 24px 8px;
}

.modal-search {
    position: relative;
    margin-bottom: 16px;
}

.modal-search .bi {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}

.modal-search input {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0 12px 0 36px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.15s;
}

.modal-search input:focus {
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(13,122,92,0.1);
}

.modal-search input::placeholder {
    color: var(--text-muted);
}

.csc-list {
    list-style: none;
    max-height: 360px;
    overflow-y: auto;
    margin: 0 -24px;
    padding: 0 24px;
}

.csc-list::-webkit-scrollbar {
    width: 4px;
}

.csc-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.csc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 0.5px solid var(--border);
}

.csc-item:last-child {
    border-bottom: none;
}

.csc-item-icon {
    width: 34px;
    height: 34px;
    background: var(--green-50);
    border: 0.5px solid var(--green-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-700);
    font-size: 14px;
    flex-shrink: 0;
}

.csc-item-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.csc-item.hidden {
    display: none;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 0.5px solid var(--border);
    background: #fafcfb;
    display: flex;
    justify-content: flex-end;
}

.modal-footer-btn {
    padding: 9px 22px;
    background: var(--green-800);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.modal-footer-btn:hover {
    background: var(--green-900);
}

/* Responsive */
@media (max-width: 760px) {
    .site-header {
        padding: 0 18px;
    }

    .btn-login span, .btn-register span {
        display: none;
    }

    main {
        padding: 24px 18px 48px;
    }

    .hero-band {
        padding: 28px 22px;
    }

    .hero-title {
        font-size: 28px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        padding: 16px 18px;
        text-align: center;
    }
}