@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary-color: #0A2342;
    --secondary-color: #D4AF37;
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg-color: #f8f9fa;
    --white-color: #ffffff;
    --primary-gradient: linear-gradient(135deg, #0A2342, #1a3352);
    --secondary-gradient: linear-gradient(135deg, #e4c56e, #D4AF37);
}

body {
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: var(--white-color);
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span {
    color: var(--secondary-color);
}

.nav a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--secondary-color);
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('images/manchester_skyline.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 150px 0;
    text-align: center;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Section Styling */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 60px;
}

/* Our Mandate Section */
#about {
    background: var(--bg-color);
}

#about .about-content {
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Leadership Section */
#leadership {
    background-image: url('images/library.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#leadership::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white overlay */
    z-index: 1;
}

#leadership > .container {
    position: relative;
    z-index: 2;
}

.leadership-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.leadership-photo {
    flex: 0 0 280px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.leadership-photo img {
    width: 100%;
    display: block;
}

.leadership-bio h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-top: 0;
    font-size: 2rem;
}

.leadership-bio .title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
    font-size: 1.1rem;
}

/* Focus Section */
#focus {
    background: var(--primary-gradient);
    color: var(--white-color);
}

#focus .section-title, #focus .section-subtitle {
    color: var(--white-color);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.focus-item {
    background: var(--white-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.focus-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 25px;
}

.focus-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0;
}

#focus .focus-item p {
    color: var(--text-color);
}

/* Contact Section */
#contact {
    background-color: var(--light-bg-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: calc(100% - 24px);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

.btn {
    background: var(--secondary-gradient);
    color: var(--primary-color);
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .leadership-content { flex-direction: column; text-align: center; }
    .leadership-photo { margin-bottom: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header .container { flex-direction: column; }
    .nav { margin-top: 15px; }
    .nav a { margin: 0 10px; }
    .hero h1 { font-size: 2.5rem; }
}