/* Global Styles */
:root {
    --primary-color: #5a9da8;
    --dark-teal: #1b3d42;
    --text-color: #333;
    --white: #ffffff;
    --light-gray: #f5f5f5;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 96%;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
}

.linkedin-icon {
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.linkedin-icon img {
    height: 33px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, var(--dark-teal) 0%, #0f2a2e 100%);
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-services {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Image Section */
.hero-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    background-color: var(--light-gray);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-hero {
    padding: 0;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
}

.staff-card {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.staff-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.staff-details {
    background: var(--white);
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.staff-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-teal);
}

.staff-role {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

.staff-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #e2b07d;
    color: var(--dark-teal);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

.staff-button:hover {
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-teal);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    flex: 1;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content p {
        text-align: center;
    }
}

/* About Chris specific styles */
.about-hero-split {
    display: flex;
    min-height: 500px;
    background-color: var(--dark-teal);
    border-bottom: 20px solid var(--primary-color);
}

.about-hero-image {
    flex: 0 0 35%;
    max-width: 450px;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.about-hero-text {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--white);
}

.about-hero-text-inner {
    max-width: 600px;
}

.about-hero-text h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.about-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-story-section {
    background-color: var(--dark-teal);
    color: var(--white);
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
}

.about-story-content {
    max-width: 800px;
    width: 100%;
}

.about-story-content h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.about-story-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.linkedin-btn img {
    height: 33px;
    width: auto;
}

.about-contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem;
}

.about-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-col img {
    max-height: 80px;
    width: auto;
}

.contact-col.middle-col {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.middle-col-left h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.middle-col-left p {
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.social-links-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icon {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}

.middle-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
}

.middle-col-right a, .middle-col-right span {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
}

.middle-col-right a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .about-hero-split {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    .about-hero-image {
        max-width: 100%;
        width: 100%;
        height: 400px;
        flex: none;
    }
    .about-hero-text {
        flex: none;
        display: block;
        padding: 2rem;
    }
    .contact-col.middle-col {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .social-links-container {
        justify-content: center;
    }
}

/* Clients Page Styles */
.clients-hero {
    background-color: var(--dark-teal);
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
}

.clients-hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.clients-list-section {
    background-color: var(--white);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

.client-entry {
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.client-entry h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.client-entry h2 a {
    color: var(--primary-color);
    text-decoration: underline;
}

.client-entry p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.client-main-logo {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    display: block;
    margin: 0 auto;
}

.jcq-main-logo {
    max-height: 120px;
    margin-bottom: 2rem;
}

.exam-boards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.exam-boards-grid img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 5px;
}

.testimonials-section {
    background-color: var(--dark-teal);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.testimonials-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quote-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    font-family: monospace;
    opacity: 0.8;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.testimonial-author {
    font-weight: bold;
    font-size: 1rem;
}

@media (max-width: 1000px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
@media (max-width: 600px) {
    .exam-boards-grid img {
        height: 40px;
    }
}

/* Contact Page Styles */
.contact-page-body {
    background-color: var(--dark-teal);
}

.contact-split-section {
    display: flex;
    width: 100%;
    max-width: 96%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 6rem 1rem;
    color: var(--white);
    gap: 3rem;
}

.contact-left-col {
    flex: 1;
    text-align: left;
}

.contact-left-col h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    white-space: nowrap;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-email-link {
    color: var(--white);
    text-decoration: none;
}

.contact-email-link:hover {
    text-decoration: underline;
}

.contact-info .social-icon {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.contact-right-col {
    flex: 1.5;
}

.contact-map-col {
    flex: 1.5;
    display: flex;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.half-width {
    flex: 1;
}

.submit-btn {
    background-color: var(--white);
    color: var(--dark-teal);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #eee;
}

.map-section {
    display: none;
}

.map-container {
    width: 100%;
    height: 100%;
    flex: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(90%);
}

@media (max-width: 1000px) {
    .contact-split-section {
        flex-direction: column;
    }
    .contact-left-col {
        text-align: center;
    }
}
