/* ===== Brand Colours ===== */
:root {
    --primary:   #0033A0;   /* Deep blue – UK flag */
    --accent:    #00BFA6;   /* Fresh cyan‑teal accent (for hover, icons, secondary CTAs) */
    --gold:      #FFD700;   /* Your existing gold – use sparingly for highlights */
    --text:      #212529;   /* Dark gray for body */
    --muted:     #6c757d;   /* Helper text / placeholders */
    --success:   #28a745;   /* Form success */
    --warning:   #dc3545;   /* Form error */
    --link-hover:#0056b3;   /* Darker blue on hover (links) */
    --border:    #dee2e6;   /* Light borders */
    --card-bg:   #fafafa;   /* Slightly lighter card background */
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {font-size: 100%;} /* 16px base */

body {
    font-family: 'Inter', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    min-height: 100vh;
}

/* ===== Layout ===== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* ===== Header ===== */
header {
    background: var(--primary);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

header h1 {
    margin: 0;
    font-family: 'Montserrat', 'Bebas Neue', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.8rem;
    color: #fff;
}

header nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

header nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 2px solid transparent;
}

header nav a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

header nav a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn:hover {
    background: var(--link-hover);
    transform: translateY(-2px);
}

/* Outline button (secondary CTA) */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Gold‑accent button (for special highlights) */
.btn-gold {
    background: var(--gold);
    color: #000;
}
.btn-gold:hover {
    background: #ffe066;
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    font-family: 'Montserrat', 'Bebas Neue', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
}
.section-title span {
    color: var(--gold);
}

/* ===== Content Cards ===== */
.content-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1.25rem;
}

.card h3 {
    margin: 0 0 0.75rem;
    font-family: 'Montserrat', 'Bebas Neue', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.25rem;
    color: var(--primary);
}

.card p {
    color: var(--text);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card .btn {
    width: 100%;
    text-align: center;
}

/* ===== Forms ===== */
input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,51,160,0.25);
}

/* ===== Alerts / Messages ===== */
.alert {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}
.alert-success {background: #d4edda; color: #155724; border: 1px solid #c3e6cb;}
.alert-error   {background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb;}
.alert-info    {background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb;}

/* ===== Footer ===== */
footer {
    background: var(--primary);
    color: #fff;
    padding: 2rem 0 1rem;
    border-top: 3px solid var(--gold);
}

footer .container {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

footer h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
    font-family: 'Montserrat', 'Bebas Neue', 'Helvetica Neue', Arial, sans-serif;
}

footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 0.4rem;
}
footer ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.2s;
}
footer ul li a:hover {
    color: #fff;
}

footer .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}
footer .social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
}
footer .social-links a:hover {
    color: var(--accent);
}

footer .bottom-bar {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #eee;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    header .container {flex-direction: column; gap: 0.8rem; text-align: center;}
    header h1 {margin-bottom: 0.5rem;}
    header nav {justify-content: center;}
    .hero h2 {font-size: 2rem;}
    .hero p {font-size: 1.1rem;}
    section {padding: 2.5rem 0;}
    .section-title {font-size: 1.8rem; margin-bottom: 1.5rem;}
    .content-grid {grid-template-columns: 1fr;}
    footer .container {grid-template-columns: 1fr; text-align: center;}
    footer .social-links {justify-content: center;}
}

/* ===== Utility Classes ===== */
.text-center {text-align: center;}
.text-primary {color: var(--primary);}
.text-accent   {color: var(--accent);}
.text-gold     {color: var(--gold);}
.text-muted    {color: var(--muted);}
.bg-accent     {background: var(--accent);}
.bg-gold       {background: var(--gold);}