/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    color: #2857a4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a3d7a;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ad Disclosure */
.ad-disclosure {
    background-color: #f0f0f0;
    color: #666;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    border-bottom: 1px solid #ddd;
}

/* Magazine Navigation */
.magazine-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: #ffffff;
    border-bottom: 2px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 1rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    color: #444;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Magazine Hero */
.magazine-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    text-align: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtext {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #e8e8e8;
    font-family: 'Georgia', serif;
}

/* Magazine Layout */
.magazine-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Intro Narrative Section */
.intro-narrative {
    padding: 5rem 0 4rem;
    background-color: #ffffff;
}

.narrative-columns {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.column-primary {
    flex: 2;
    min-width: 320px;
}

.column-secondary {
    flex: 1;
    min-width: 280px;
}

.insight-box {
    background-color: #f9f5f0;
    padding: 2rem;
    border-left: 4px solid #2857a4;
}

.insight-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2857a4;
}

/* Visual Break Section */
.visual-break {
    padding: 4rem 0;
    background-color: #fafafa;
}

.split-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.content-left, .content-right {
    flex: 1;
    min-width: 320px;
}

.content-left img, .content-right img {
    border-radius: 2px;
    background-color: #e8e8e8;
}

.inline-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 2rem;
    background-color: #2857a4;
    color: #ffffff;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.inline-cta:hover {
    background-color: #1a3d7a;
    color: #ffffff;
}

/* Services Preview Section */
.services-preview {
    padding: 5rem 0;
    background-color: #ffffff;
}

.section-header-wide {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-intro {
    font-size: 1.2rem;
    color: #555;
}

.service-grid-magazine {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card-mag {
    flex: 1 1 calc(50% - 1.25rem);
    min-width: 320px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.service-card-mag:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #e8e8e8;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-content p {
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.6;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e8e8e8;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2857a4;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.select-service {
    padding: 0.7rem 1.5rem;
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.select-service:hover {
    background-color: #333;
}

/* Testimonial Section */
.testimonial-weave {
    padding: 4rem 0;
    background-color: #2c2c2c;
    color: #ffffff;
}

.testimonial-layout {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.testimonial-primary, .testimonial-secondary {
    flex: 1;
    min-width: 300px;
}

blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    color: #e8e8e8;
    border-left: 4px solid #2857a4;
    padding-left: 2rem;
}

cite {
    display: block;
    margin-top: 1.5rem;
    font-style: normal;
    font-size: 1rem;
    color: #aaa;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

/* Application Narrative */
.application-narrative {
    padding: 5rem 0;
    background-color: #fafafa;
}

.narrow-column {
    max-width: 720px;
    margin: 0 auto;
}

/* Enrolment Section */
.enrolment-section {
    padding: 5rem 0;
    background-color: #f9f5f0;
}

.enrolment-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-context {
    text-align: center;
    margin-bottom: 3rem;
}

.enrolment-form {
    background-color: #ffffff;
    padding: 3rem;
    border: 1px solid #ddd;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    color: #333;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #2857a4;
}

.selected-programme-display {
    background-color: #f0f0f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2857a4;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #2857a4;
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

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

/* Closing Perspective */
.closing-perspective {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.perspective-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.magazine-footer {
    background-color: #1a1a1a;
    color: #e8e8e8;
    padding: 3rem 5% 1rem;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #aaa;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    background-color: #252525;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 3px solid #2857a4;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #bbb;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 2px solid #2857a4;
    padding: 1.5rem 5%;
    display: none;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    flex: 1;
    min-width: 300px;
    margin: 0;
    font-size: 0.95rem;
    color: #444;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.cookie-btn.accept {
    background-color: #2857a4;
    color: #ffffff;
}

.cookie-btn.accept:hover {
    background-color: #1a3d7a;
}

.cookie-btn.reject {
    background-color: #e8e8e8;
    color: #333;
}

.cookie-btn.reject:hover {
    background-color: #d0d0d0;
}

.cookie-link {
    font-size: 0.9rem;
    color: #2857a4;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    text-decoration: underline;
}

/* Page Header */
.page-header {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: #ffffff;
}

.header-intro {
    font-size: 1.2rem;
    color: #666;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

/* About Page */
.about-page {
    background-color: #ffffff;
}

.origin-story {
    padding: 3rem 0;
}

.story-columns {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.story-primary {
    flex: 2;
    min-width: 320px;
}

.story-primary img {
    margin-bottom: 2rem;
    background-color: #e8e8e8;
}

.story-secondary {
    flex: 1;
    min-width: 280px;
}

.timeline-highlight {
    background-color: #f0f0f0;
    padding: 2rem;
    border-top: 3px solid #2857a4;
}

.approach-explanation {
    padding: 4rem 0;
    background-color: #fafafa;
}

.team-philosophy {
    padding: 4rem 0;
    background-color: #ffffff;
}

.philosophy-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.philosophy-image, .philosophy-text {
    flex: 1;
    min-width: 320px;
}

.philosophy-image img {
    background-color: #e8e8e8;
}

.values-section {
    padding: 4rem 0;
    background-color: #f9f5f0;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.value-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 2rem;
    background-color: #ffffff;
    border-left: 3px solid #2857a4;
}

.current-work {
    padding: 4rem 0;
    background-color: #ffffff;
    text-align: center;
}

.work-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: #2857a4;
    color: #ffffff;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.content-cta:hover {
    background-color: #1a3d7a;
    color: #ffffff;
}

/* Services Page */
.services-page {
    background-color: #fafafa;
}

.services-detailed {
    padding: 3rem 0;
}

.service-detail {
    margin-bottom: 4rem;
    background-color: #ffffff;
    padding: 3rem;
    border: 1px solid #e8e8e8;
}

.service-detail-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.service-detail-layout.reverse {
    flex-direction: row-reverse;
}

.service-detail-image, .service-detail-content {
    flex: 1;
    min-width: 320px;
}

.service-detail-image img {
    background-color: #e8e8e8;
    border-radius: 2px;
}

.service-price-badge {
    display: inline-block;
    background-color: #2857a4;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    margin-bottom: 1.5rem;
    border-radius: 3px;
}

.service-lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: #444;
}

.service-detail-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-content ul li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

/* Contact Page */
.contact-page {
    background-color: #ffffff;
}

.contact-info-section {
    padding: 3rem 0 4rem;
}

.contact-layout {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-primary, .contact-secondary {
    flex: 1;
    min-width: 320px;
}

.contact-address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-detail-block {
    margin-bottom: 2.5rem;
}

.email-display {
    font-family: 'Courier New', monospace;
    background-color: #f0f0f0;
    padding: 0.8rem;
    border-left: 3px solid #2857a4;
    font-size: 1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.hours-list {
    list-style: none;
    margin-top: 1rem;
}

.hours-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.contact-image {
    margin-bottom: 2rem;
    background-color: #e8e8e8;
}

.location-details {
    background-color: #f9f5f0;
    padding: 2rem;
    margin-bottom: 2rem;
}

.location-details ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.visit-note {
    background-color: #f0f0f0;
    padding: 2rem;
    border-left: 3px solid #2857a4;
}

.alternative-contact {
    padding: 4rem 0;
    background-color: #fafafa;
    text-align: center;
}

.alt-contact-content {
    max-width: 700px;
    margin: 0 auto;
}

/* Thanks Page */
.thanks-page {
    padding: 4rem 0;
    background-color: #ffffff;
}

.thanks-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.thanks-content {
    flex: 2;
    min-width: 320px;
}

.thanks-lead {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
}

.confirmation-details {
    background-color: #f9f5f0;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #2857a4;
}

.confirmation-box h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2857a4;
}

.selected-programme-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.selected-programme-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2857a4;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
}

.next-steps {
    margin: 2rem 0;
}

.steps-list {
    margin-left: 1.5rem;
}

.steps-list li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.steps-list ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
    list-style-type: circle;
}

.thanks-note {
    background-color: #f0f0f0;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid #2857a4;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #2857a4;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1a3d7a;
    color: #ffffff;
}

.btn-secondary {
    background-color: #e8e8e8;
    color: #333;
}

.btn-secondary:hover {
    background-color: #d0d0d0;
    color: #333;
}

.thanks-aside {
    flex: 1;
    min-width: 280px;
}

.while-you-wait {
    background-color: #f9f5f0;
    padding: 2rem;
    border-top: 3px solid #2857a4;
}

.while-you-wait ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.while-you-wait li {
    margin-bottom: 0.8rem;
}

/* Legal Pages */
.legal-page {
    background-color: #ffffff;
    padding-bottom: 3rem;
}

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

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8e8e8;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.legal-section ul li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.contact-details {
    background-color: #f9f5f0;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 3px solid #2857a4;
    line-height: 1.8;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

.cookies-table thead {
    background-color: #f0f0f0;
}

.cookies-table th, .cookies-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.cookies-table th {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .magazine-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtext {
        font-size: 1.1rem;
    }

    .narrative-columns, .split-content, .service-grid-magazine,
    .testimonial-layout, .story-columns, .philosophy-layout,
    .values-grid, .service-detail-layout, .contact-layout {
        flex-direction: column;
    }

    .service-card-mag {
        flex: 1 1 100%;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .thanks-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
