/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Poppins:wght@600&family=Inter:wght@400;500;600&family=Space+Mono&display=swap');

:root {
    /* Brand Colors */
    --color-navy: #11224C;
    --color-teal: #00B8B1;
    --color-orange: #FF7D3B;
    --color-neutral: #FDF7F1;
    --color-white: #FFFFFF;

    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-subheadings: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-code: 'Space Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-navy);
    background-color: var(--color-white);
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 800;
}

.section-title, .hero-title {
    font-family: var(--font-headings);
    font-weight: 800;
}

.section-subtitle, .card h3, .feature-content h3 {
    font-family: var(--font-subheadings);
    font-weight: 600;
}

code, pre, .code-text {
    font-family: var(--font-code);
}

/* Header Styles */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

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

.logo-text {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.5rem;
}

/* Navigation Styles */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ensure navbar links have hover effects */
.nav-links li a {
    color: var(--color-navy);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links li a:hover {
    color: var(--color-orange);
    transform: translateY(-2px);
}

.nav-links li a:not(.cta-button):after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-orange);
    transition: width 0.3s ease;
}

.nav-links li a:not(.cta-button):hover:after {
    width: 100%;
}

/* Ensure navbar CTA button has hover effect */
.nav-links li a.cta-button {
    background-color: var(--color-orange);
    color: var(--color-navy) !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
}

.nav-links li a.cta-button:hover {
    background-color: #e86d2f;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 125, 59, 0.3);
}

.nav-links .cta-button-large {
    padding: 1.3rem 2.6rem;
    font-size: 1.625rem;
}

.nav-links .cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: 2px solid var(--color-orange);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 156px;
    font-size: 1.3rem;
}

.nav-links .cta-button-secondary:hover {
    background-color: #e86d2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 125, 59, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--color-white);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.hero-video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    background: linear-gradient(
        rgba(17, 34, 76, 0.92),
        rgba(17, 34, 76, 0.92)
    );
}

.hero::after {
    display: none;
}

.hero-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    z-index: 3;
}

/* Ensure all hero content has proper z-index */
.hero-logo,
.hero-title,
.hero-subtitle,
.hero-credit,
.hero-cta {
    position: relative;
    z-index: 3;
}

.hero-logo-image {
    width: 150px;
    height: auto;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-logo-text {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 3rem;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-family: var(--font-subheadings);
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--color-teal);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-credit {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--color-teal);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Ensure hero CTA buttons have hover effects */
.hero-cta .cta-button {
    background-color: var(--color-teal);
    color: var(--color-white) !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 2px solid var(--color-teal);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.3rem;
}

.hero-cta .cta-button:hover {
    background-color: var(--color-white);
    color: var(--color-teal) !important;
    border-color: var(--color-white);
}

.hero-cta .cta-button-secondary {
    background-color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

.hero-cta .cta-button-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-orange) !important;
    border-color: var(--color-white);
}

/* Message Section */
.focus-section {
    padding: 4rem 0;
    background-color: var(--color-neutral);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-navy);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-navy);
    max-width: 900px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.focus-section .section-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.card-instruction {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
    opacity: 1;
}

.message-section .section-subtitle {
    margin-bottom: 4rem;
    font-size: 1.3rem;
    line-height: 1.7;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.card {
    position: relative;
    background: var(--color-white);
    border-radius: 24px;
    min-height: 380px;
    width: 100%;
    cursor: pointer;
    perspective: 1000px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scale(1);
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.card.flipped {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    min-height: 700px;
    z-index: 1000;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
    min-height: 700px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    min-height: 380px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-front {
    background: var(--color-white);
    border-radius: 24px;
}

.card h3 {
    color: var(--color-navy);
    font-size: 1.75rem;
    line-height: 1.2;
    margin: 0;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--color-navy);
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.card-back {
    transform: rotateY(180deg);
    background: var(--color-teal);
    border-radius: 24px;
    overflow-y: auto;
    padding: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-back .card-content {
    max-width: 80%;
    text-align: left;
}

.card-back h3,
.card-back p,
.card-back h4,
.card-back li {
    color: var(--color-white);
}

.card-back h3 {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}

.card-back p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-back h4 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 1.25rem 0 0.5rem;
    font-family: var(--font-subheadings);
}

.card-back ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0.25rem 0 0.75rem;
}

.card-back li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
    font-size: 1.125rem;
}

.card-icon {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    display: block;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.overlay.active {
    display: block;
}

@media (min-width: 769px) {
    .card {
        min-height: 420px;
    }

    .card-front,
    .card-back {
        padding: 2.5rem;
    }

    .card h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .card p {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .card {
        min-height: 340px;
    }

    .card-front,
    .card-back {
        padding: 1.75rem;
    }

    .card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .card p {
        font-size: 1rem;
    }

    .card.flipped {
        width: 95%;
        max-width: none;
        height: 95vh;
        margin: 0;
    }

    .card.flipped .card-inner {
        min-height: 95vh;
    }

    .card-back {
        padding: 2rem;
    }

    .card-back .card-content {
        max-width: 90%;
    }

    .card-back h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .card-back p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .card-back h4 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.5rem;
    }

    .card-back li {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        line-height: 1.3;
    }
}

/* CTA Buttons */
.cta-button {
    background-color: transparent;
    color: var(--color-white) !important;
    padding: 1rem 2rem;
    border-radius: 4px;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.3rem;
}

.cta-button:hover {
    background-color: var(--color-white);
    color: var(--color-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-button-large {
    padding: 1.3rem 2.6rem;
    font-size: 1.625rem;
}

.cta-button-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-orange);
    color: var(--color-white);
    border: 2px solid var(--color-orange);
    border-radius: 4px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 156px;
    font-size: 1.3rem;
}

.cta-button-secondary:hover {
    background-color: #e86d2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 125, 59, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-navy);
    padding: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        padding: 6rem 1rem;
        min-height: 100vh;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
        padding: 0 1rem;
    }

    .hero-logo-image {
        width: 120px;
        margin-bottom: 1.5rem;
    }

    .hero-logo-text {
        font-size: 2.25rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .cta-button, .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }

    .message-section {
        padding: 4rem 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .card {
        min-height: 250px;
    }
}

/* Programmes Section */
.programmes-section {
    padding: 1rem 1.5rem;
    background-color: var(--color-white);
}

.programmes-section .section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.programme-title {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 0.64rem;
}

.programme-title h2 {
    font-size: 3rem;
    color: var(--color-navy);
    margin: 0;
}

.programme-intro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: center;
    text-align: left;
}

.intro-heading {
    font-family: var(--font-headings);
    font-size: 2.5rem;
    color: var(--color-teal);
    line-height: 1.2;
    margin: 0;
}

.programme-intro .section-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    color: var(--color-navy);
    max-width: 600px;
    text-align: left;
}

.programme-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-content h3 {
    color: var(--color-navy);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--color-navy);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .programmes-section .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .programme-intro {
        text-align: left;
    }

    .programme-intro .section-subtitle {
        margin: 0;
        text-align: left;
    }

    .programme-features {
        max-width: 900px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .programmes-section {
        padding: 0.64rem 1.5rem;
    }

    .programme-title h2 {
        font-size: 2rem;
    }

    .intro-heading {
        font-size: 1.75rem;
    }

    .programme-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }
}

/* Enquiry Section */
.enquiry-section {
    padding: 4rem 1.5rem;
    background-color: var(--color-white);
}

.enquiry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.enquiry-content {
    text-align: left;
}

.enquiry-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.enquiry-benefits li {
    margin: 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Styles */
.enquiry-form-container {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.enquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-navy);
    font-family: var(--font-body);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 2px rgba(0, 41, 82, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-navy);
}

.full-width {
    grid-column: 1 / -1;
}

.enquiry-form .cta-button,
.enquiry-form .cta-button-large {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white);
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.enquiry-form .cta-button:hover,
.enquiry-form .cta-button-large:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
}

/* Remove validation styles */
.enquiry-form input:invalid,
.enquiry-form select:invalid,
.enquiry-form textarea:invalid {
    border-color: #ddd;
}

.enquiry-form input:focus:invalid,
.enquiry-form select:focus:invalid,
.enquiry-form textarea:focus:invalid {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 2px rgba(0, 41, 82, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .enquiry-section {
        padding: 3rem 1.5rem;
    }

    .enquiry-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .enquiry-content {
        text-align: center;
    }

    .enquiry-benefits {
        display: inline-block;
        text-align: left;
        margin: 1.5rem auto;
    }

    .enquiry-form {
        grid-template-columns: 1fr;
    }

    .form-group.full-width,
    .checkbox-group,
    .enquiry-form button[type="submit"] {
        grid-column: span 1;
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--color-orange);
    color: var(--color-white);
    padding: 1.5rem 3rem;
    border: 2px solid var(--color-navy);
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
}

.floating-cta.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.floating-cta:hover {
    background-color: #e86d2f;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 768px) {
    .floating-cta {
        padding: 1.2rem 2.4rem;
        font-size: 1.2rem;
        bottom: 16px;
    }
}

/* We'll add specific component styles as we build them */

/* Footer */
.footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-signup {
    text-align: left;
}

.footer-signup h3 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-subheadings);
}

.footer-signup p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-form {
    display: flex;
    gap: 0.5rem;
    max-width: 400px;
}

.footer-form .form-group {
    flex: 1;
    margin: 0;
}

.footer-form input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-size: 0.9rem;
}

.footer-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-form input[type="email"]:focus {
    outline: none;
    border-color: var(--color-teal);
    background: rgba(255, 255, 255, 0.15);
}

.footer-submit {
    background-color: var(--color-teal);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-submit:hover {
    background-color: #009b95;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .footer-signup {
        order: -1;
    }

    .footer-info {
        order: 1;
    }

    .footer-form {
        flex-direction: column;
        max-width: 100%;
    }

    .footer-submit {
        width: 100%;
    }
}

/* About Section */
.about-section {
    padding: 4rem 1.5rem;
    background-color: var(--color-neutral);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-navy);
    opacity: 0.9;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

@media (max-width: 768px) {
    .about-section {
        padding: 3rem 1.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        text-align: center;
    }

    .about-content p {
        text-align: left;
    }

    .about-image {
        min-height: 250px;
        order: -1;
    }
}

.programme-list {
    list-style-type: disc;
    padding-left: 2rem;
    margin: 2rem auto 3rem;
    max-width: 900px;
}

.programme-list li {
    color: var(--color-navy);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .programme-list {
        padding-left: 1.5rem;
        margin: 1.5rem auto 2rem;
    }

    .programme-list li {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
}

.underline {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.signup-slide {
    position: fixed;
    background: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.signup-slide.show {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 769px) {
    .signup-slide {
        top: 50%;
        right: 0;
        transform: translate(100%, -50%);
        width: 400px;
        border-radius: 10px 0 0 10px;
    }

    .signup-slide.show {
        transform: translate(0, -50%);
    }
}

@media (max-width: 768px) {
    .signup-slide {
        bottom: 0;
        left: 0;
        right: 0;
        transform: translateY(100%);
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .signup-slide.show {
        transform: translateY(0);
    }
}

.signup-content {
    padding: 2.5rem;
    position: relative;
    background: var(--color-white);
}

.close-signup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-navy);
    padding: 0.5rem;
}

.signup-content h3 {
    color: var(--color-navy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.signup-content p {
    color: var(--color-navy);
    margin-bottom: 1.5rem;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.signup-form input[type="email"] {
    padding: 0.75rem;
    border: 2px solid var(--color-teal);
    border-radius: 5px;
    font-size: 1rem;
    width: 100%;
}

.signup-privacy {
    font-size: 0.875rem;
    color: #666;
    margin-top: 1rem;
}

.signup-form .cta-button {
    background-color: var(--color-teal);
    border-color: var(--color-teal);
    color: var(--color-white) !important;
    width: 100%;
    margin-top: 1rem;
}

.signup-form .cta-button:hover {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
}

.desktop-text {
    display: inline;
}

.mobile-text {
    display: none;
}

@media (max-width: 1200px) {
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }
}

/* Mobile Styles */
@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 812px) 
and (-webkit-min-device-pixel-ratio: 3),
(max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: -webkit-fill-available;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow: hidden;
    }

    .hero-video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .hero-background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
    }

    .hero::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            rgba(17, 34, 76, 0.85),
            rgba(17, 34, 76, 0.85)
        );
    }

    .hero-container {
        position: relative;
        z-index: 3;
        padding: 4rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        height: -webkit-fill-available;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .hero-credit {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .hero-cta .cta-button,
    .hero-cta .cta-button-secondary {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        padding: 0.875rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Card Styles for Mobile */
    .card.flipped {
        width: 100%;
        height: 100vh;
        height: -webkit-fill-available;
        top: 0;
        left: 0;
        transform: none;
        margin: 0;
        border-radius: 0;
    }

    .card.flipped .card-inner {
        min-height: 100vh;
        height: -webkit-fill-available;
    }

    .card-back {
        padding: 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .card-back .card-content {
        max-width: 100%;
        padding: 1rem;
    }

    .card-back h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .card-back p {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .card-back h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }

    .card-back ul {
        padding-left: 1.25rem;
    }

    .card-back li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 380px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .hero-video-container {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
    }

    .hero-background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: cover;
    }

    .hero::before {
        position: absolute;
        height: 100%;
        width: 100%;
        background: linear-gradient(
            rgba(17, 34, 76, 0.85),
            rgba(17, 34, 76, 0.85)
        );
    }

    .hero-container {
        position: relative;
        z-index: 3;
        padding: 1rem;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .hero-credit {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-cta {
        margin-top: 1rem;
    }

    .hero-cta .cta-button,
    .hero-cta .cta-button-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
        max-width: 250px;
    }

    /* Card specific fixes for small screens */
    .card {
        min-height: 280px;
    }

    .card-inner {
        min-height: 280px;
    }

    .card.flipped {
        width: 100vw;
        height: 100vh;
        left: 0;
        top: 0;
        transform: none;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }

    .card.flipped .card-inner {
        min-height: 100vh;
    }

    .card-back {
        padding: 1rem;
        overflow-y: auto;
    }

    .card-back .card-content {
        max-width: 100%;
        padding: 0.5rem;
    }

    .card-back h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .card-back p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .card-back h4 {
        font-size: 1rem;
        margin: 1rem 0 0.5rem;
    }

    .card-back ul {
        padding-left: 1.25rem;
    }

    .card-back li {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }
}

@media only screen and (max-width: 380px) {
    .site-header {
        padding: 0.5rem;
    }

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

    .logo {
        width: 40px;
        height: 40px;
        margin-right: 0.5rem;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .nav-links {
        padding: 0.5rem;
    }
} 