/*
Theme Name: CloudReady Theme
Author: jfwebdesign.co.uk
Description: A custom theme for the CloudReady website.
Version: 1.0
*/

:root {
    /* Brand Colors (from PDF guide and logo approximation) */
    --color-purple-team: #6B2D8F; /* Primary brand, form backgrounds, headings */
    --color-orange-training: #FF6B35; /* CTA buttons, accents, taglines */
    --color-blue-cloud: #00A6CE; /* Secondary CTAs, info boxes */
    --color-deep-purple: #4A1D6B; /* Body text, section headers */
    --color-soft-lavender: #E8D5F2; /* Background accents, preparation boxes */
    --color-success-green: #28A745; /* Thank you page confirmations */
    --color-warning-amber: #E6A817; /* Prerequisite notice box border */
    
    /* Neutral Colors */
    --color-text-dark: #333333; /* Dark gray for body text */
    --color-background-white: #FFFFFF;
    --color-background-light-gray: #F7F7F7; /* Section separator */
    --color-border-light: #EEEEEE;
}

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

img {
    border-radius: 20px;
}

button, .btn {
    border-radius: 20px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--color-text-dark);
    background-color: var(--color-background-white);
    line-height: 1.6;
    font-size: 17px;
}

a {
    color: var(--color-purple-team);
    text-decoration: none !important;
    transition: color 0.3s;
}

.highlight-purple {
    color: var(--color-purple-team);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 2em 0;
}

/* Typography & Headings */
h1, h2, h3 {
    font-family: 'Open Sans', sans-serif; /* Maintain sans-serif look */
    line-height: 1.2;
    color: var(--color-deep-purple);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.8em; }

/* Header/Navigation */
header {
    background-color: var(--color-background-white);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--color-purple-team);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--color-deep-purple);
    font-weight: 600;
    padding: 5px 10px;
}

nav a.cta-button {
    background-color: var(--color-orange-training);
    color: var(--color-background-white);
    padding: 8px 15px;
    border-radius: 20px;
}

nav a.cta-button:hover {
    background-color: var(--color-purple-team);
    color: var(--color-background-white);
}

/* Sections */
section {
    padding: 5em 0;
}

.section-light {
    background-color: var(--color-background-light-gray);
}

.section-purple {
    background-color: rgba(0, 0, 0, 0.6); /* Darker transparent black overlay */
    color: var(--color-background-white);
    padding: 5em 0;
    background-image: url(images/hero-image.png);
    background-blend-mode: overlay; /* Blend the background color and image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.3s, color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-orange-training);
    color: var(--color-background-white);
    align-self: flex-start;
}

.btn-primary:hover {
    background-color: var(--color-purple-team);
}

.btn-secondary {
    background-color: var(--color-blue-cloud);
    color: var(--color-background-white);
}

.btn-secondary:hover {
    background-color: var(--color-deep-purple);
}

/* Reusable button style: Black background with orange text */
.btn-dark-orange-text {
    background-color: var(--color-text-dark);
    color: var(--color-orange-training);
    margin-top: 2em; /* Added margin-top */
}

.btn-dark-orange-text:hover {
    background-color: var(--color-purple-team); /* Optional hover effect */
    color: var(--color-background-white);
}

/* --- Home Page Specific Styles --- */

.hero-container {
    display: flex;
    justify-content: flex-start;
}

.hero-content {
    text-align: left;
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-content h1 {
    font-size: 2.8em;
    margin-bottom: 0.2em;
    color: var(--color-background-white); /* Make hero title white */
}

/* Specific styling for the first column of the homepage hero to add spacing */
#homepage-hero .two-column-layout .column:first-child {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Adjust spacing as needed */
}

/* --- About Page Specific Styles --- */
.about-hero {
    padding: 5em 0;
    background-image: url(images/hero-image.png);
    background-blend-mode: overlay; /* Blend the background color and image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6); /* Darker transparent black overlay */
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.about-hero .container {
    padding: 50px 0; /* Add padding to the container inside about-hero */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    color: var(--color-background-white);
}

/* Ensure any highlighted text within a hero title is also white */
.hero-title .highlight-purple {
    color: var(--color-background-white);
}

.about-hero .hero-title .highlight-purple {
    color: var(--color-background-white);
}

.about-content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.about-content-left,
.about-content-right {
    flex: 1 1 48%;
}

.about-content-right img {
    width: 100%;
    height: auto;
}

.about-page-cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.about-page-cta h2,
.about-page-cta h2 .highlight-purple { /* More specific selector for highlight-purple */
    color: var(--color-background-white);
}

.about-page-cta .btn-primary {
    align-self: center; /* Center the button */
}

/* Team Member Cards */
.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-member-card {
    background-color: var(--color-background-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.team-member h3 {
    color: var(--color-purple-team);
    margin-bottom: 5px;
}

.team-member h4 {
    color: var(--color-deep-purple);
    margin-bottom: 15px;
    font-size: 1em;
    font-weight: 600;
}

/* --- Contact Page Specific Styles --- */
.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-image: url(images/hero-image.png); /* Added background image */
    background-blend-mode: overlay; /* Added blend mode */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: rgba(0, 0, 0, 0.6); /* Darker transparent black overlay */
}

.contact-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0; /* Add padding to the container inside contact-hero */
}

.contact-hero .hero-title {
    color: var(--color-background-white);
}

.contact-hero .hero-title .highlight-purple {
    color: var(--color-background-white);
}

.contact-content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.contact-content-left,
.contact-content-right {
    flex: 1 1 48%;
}

.contact-content-right img {
    width: 100%;
    height: auto;
}

.contact-content-left ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 20px;
}

.contact-content-left ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.contact-content-left ul li::before {
    content: '\27A4'; /* Right arrow Unicode character */
    position: absolute;
    left: 0;
    color: var(--color-purple-team);
    font-weight: bold;
}

/* Metrics Bar */
.metrics-bar {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
    background-color: var(--color-soft-lavender);
    text-align: center;
    color: var(--color-deep-purple);
    border-radius: 0;
}

.metric {
    flex-basis: 20%;
}

.metric h3 {
    font-size: 3em; /* Increased to be larger than general h3 */
    margin: 0;
    color: var(--color-purple-team);
}

.metric p {
    margin: 0;
    font-weight: 600;
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.solution-card {
    background-color: var(--color-purple-team);
    color: var(--color-background-white);
    padding: 25px;
    border-radius: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.solution-card h3 {
    color: var(--color-orange-training);
    margin-top: 0;
}

/* Quote/Testimonial Box */
.quote-box {
    background-color: var(--color-deep-purple);
    color: var(--color-background-white);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
}

.quote-box blockquote {
    font-size: 1.2em;
    font-style: italic;
    margin-bottom: 15px;
    border-left: 3px solid var(--color-orange-training);
    padding-left: 20px;
}

.quote-box footer {
    text-align: right;
    font-weight: 600;
    color: var(--color-orange-training);
}

/* FAQ Section */
.faq-section-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.faq-content {
    flex: 1 1 48%;
}

.faq-image-container {
    flex: 1 1 48%;
}

.faq-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.faq-item {
    border-bottom: 1px solid var(--color-border-light);
    padding: 15px 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    outline: none;
    color: var(--color-deep-purple);
}

.faq-item p {
    padding: 10px 0 5px 20px;
    margin: 0;
}

/* --- Contact Page Specific Styles (Form inspired by PDF) --- */

/* WPForms Custom Styling - Generic */
.wpforms-custom-style .wpforms-form .wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.wpforms-custom-style .wpforms-form .wpforms-field {
    flex: 1 1 calc(50% - 20px); /* Two-column layout */
    padding: 0;
}

/* Target specific fields that should be full-width */
.wpforms-custom-style .wpforms-form .wpforms-field-textarea,
.wpforms-custom-style .wpforms-form .wpforms-field-name.wpforms-field-large,
.wpforms-custom-style .wpforms-form .wpforms-field-address,
.wpforms-custom-style .wpforms-form .wpforms-field-phone {
    flex-basis: 100%;
}

.wpforms-custom-style .wpforms-field-label {
    color: var(--color-background-white) !important;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.wpforms-custom-style .wpforms-form .wpforms-field input[type="text"],
.wpforms-custom-style .wpforms-form .wpforms-field input[type="email"],
.wpforms-custom-style .wpforms-form .wpforms-field select,
.wpforms-custom-style .wpforms-form .wpforms-field textarea,
.wpforms-custom-style .wpforms-form .wpforms-field input[type="url"],
.wpforms-custom-style .wpforms-form .wpforms-field input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 20px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text-dark);
}

.wpforms-custom-style .wpforms-form .wpforms-submit-container {
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.wpforms-custom-style .wpforms-form .wpforms-submit {
    /* Sizing & Layout */
    display: inline-block;
    width: 100%;
    height: auto !important; /* Let content and padding determine height */
    padding: 20px !important;
    line-height: 1.5 !important;
    
    /* Appearance */
    background-color: var(--color-orange-training) !important;
    color: var(--color-background-white) !important;
    border: none !important;
    border-radius: 20px !important;
    
    /* Typography */
    font-size: 1.2em !important;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    
    /* Behavior */
    cursor: pointer;
    transition: background-color 0.3s;
}

.wpforms-custom-style .wpforms-form .wpforms-submit:hover {
    background-color: var(--color-purple-team) !important;
}

.form-section {
    background-color: var(--color-purple-team); /* Matches the PDF form background */
    padding: 60px 0;
    text-align: center;
    color: var(--color-background-white);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
}

.contact-form-container h2 {
    color: var(--color-background-white);
    margin-bottom: 5px;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap; /* For mobile stacking */
}

.form-group > div {
    flex: 1 1 45%; /* Two columns */
}

.form-group.full-width > div {
    flex: 1 1 100%; /* Single column for date/time */
}

input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 20px;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text-dark);
}

/* Form CTA Button */
.form-section .btn-primary {
    width: 100%;
    padding: 20px;
    font-size: 1.2em;
    margin-top: 10px;
    
}

.form-email-link {
    margin-top: 15px;
    font-size: 0.9em;
}

.form-email-link a {
    color: var(--color-orange-training);
}

/* Style for the links below the contact form */
.contact-form-container > p {
    color: var(--color-background-white);
}
.contact-form-container > p a {
    color: var(--color-background-white);
    text-decoration: underline;
}

/* Prerequisite Warning Box (from PDF) */
.warning-box {
    background-color: rgba(230, 168, 23, 0.1); /* Light background for visibility */
    border: 1px solid var(--color-warning-amber); /* Warning Amber border */
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
    color: var(--color-text-dark);
    text-align: left;
    font-weight: 600;
}

/* Centered Footer */
footer {
    width: 100%;
}
.centered-footer {
    background-color: var(--color-background-light-gray);
    color: var(--color-text-dark);
    padding: 40px 0;
    text-align: center;
}

.centered-footer .footer-logo {
    margin-bottom: 20px;
}

.centered-footer p {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.centered-footer a {
    color: var(--color-purple-team);
}

.centered-footer a:hover {
    color: var(--color-orange-training);
}

.logo img {
    max-height: 50px; /* Adjust as needed */
    width: auto;
}

.hero-content p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.two-column-layout .column img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Layout Helpers */
.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: center;
}
.two-column-layout > .column {
    flex: 1;
}

/* Reusable utility class to add padding to the left column in a two-column layout */
.two-column-layout.has-text-column-padding > .column:first-child {
    padding-right: 2rem;
}

/* Reusable utility class to add padding to the right column in a two-column layout */
.two-column-layout.has-text-column-padding-left > .column:last-child {
    padding-left: 2rem;
}

/* Utility class for columns containing an image that needs vertical constraint */
.two-column-layout .column.constrained-image-column img {
    height: 400px; /* Vertically constrain the image */
    width: 100%;
    object-fit: cover; /* Prevents distortion */
    object-position: center; /* Ensures the crop is centered */
}

/* Styling for the mission statement */
.mission-statement {
    margin-top: 1.5em;
    font-size: 1.25em;
    color: var(--color-orange-training);
    font-weight: bold;
    font-style: italic;
}

.styled-blockquote {
    background-color: var(--color-soft-lavender);
    color: var(--color-deep-purple);
    padding: 30px;
    border-radius: 20px;
    font-size: 1.2em;
    font-weight: 600;
    border-left: 5px solid var(--color-purple-team);
}

/* "Who This Is For" Cards */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    padding-left: 0;
}

.persona-card {
    background-color: var(--color-background-light-gray);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

/* Solution Card Icons */
.solution-card .icon-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Checklist Style */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.1em;
    margin-bottom: 1em;
}

.checklist li i {
    color: var(--color-success-green);
    margin-top: 5px; /* Align icon with first line of text */
}

/* Custom styled list with purple square bullets */
.styled-list {
    list-style: none;
    padding-left: 0;
}
.styled-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1em;
}
.styled-list li::before {
    content: '■'; /* Unicode square character */
    position: absolute;
    left: 0;
    color: var(--color-purple-team);
    font-size: 1em;
    line-height: 1.4; /* Adjust for vertical alignment */
}

/* Utility class for orange, bolded text */
.text-orange {
    color: var(--color-orange-training);
    font-weight: bold;
}

/* Override for Who This Is For section to have a white background */
#who-is-this-for {
    background-color: var(--color-background-white);
}

/* About Page Text Lists */
.about-text-list ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1em;
    margin-bottom: 1em;
}

.about-text-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.5em;
    font-size: 1.05em;
}

.about-text-list li::before {
    content: "\2022"; /* Unicode bullet */
    color: var(--color-purple-team);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Utility class to force a solid purple background on CTA sections */
.cta-solid-purple {
    background-image: none !important;
    background-color: var(--color-purple-team) !important;
    background-blend-mode: normal !important;
}

/* Homepage CTA Section */
#homepage-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

#homepage-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#homepage-cta h2 {
    color: var(--color-background-white);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: center;
    gap: 20px;
}

.cta-link {
    margin-top: 15px;
}

.cta-link a {
    color: var(--color-background-white);
    text-decoration: underline;
    font-weight: 600;
}

.cta-link a {
    color: var(--color-background-white);
    text-decoration: underline;
    font-weight: 600;
}

/* Services Hero Section */
#services-hero {
    min-height: 40vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#services-hero .container {
    flex-direction: column;
}

#services-hero h1 {
    color: var(--color-background-white);
    font-size: 2.8em; /* Consistent with other hero titles */
}

#services-hero p {
    color: var(--color-background-white);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2em;
}

/* Services CTA Section (similar to homepage-cta) */
#services-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

#services-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#services-cta h2 {
    color: var(--color-background-white);
}

/* Method Hero Section */
#method-hero {
    min-height: 40vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#method-hero .container {
    flex-direction: column;
}

#method-hero h1 {
    color: var(--color-background-white);
    font-size: 2.8em; /* Consistent with other hero titles */
}

#method-hero p {
    color: var(--color-background-white);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2em;
}

/* Method CTA Section (similar to homepage-cta) */
#method-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

#method-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#method-cta h2 {
    color: var(--color-background-white);
}

/* FAQ Hero Section */
#faq-hero {
    min-height: 40vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#faq-hero .container {
    flex-direction: column;
}

#faq-hero h1 {
    color: var(--color-background-white);
    font-size: 2.8em; /* Consistent with other hero titles */
}

#faq-hero p {
    color: var(--color-background-white);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2em;
}

/* FAQ CTA Section (similar to homepage-cta) */
#faq-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

#faq-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#faq-cta h2 {
    color: var(--color-background-white);
}

/* Assessment Hero Section */
#assessment-hero {
    min-height: 40vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#assessment-hero .container {
    flex-direction: column;
}

#assessment-hero h1 {
    color: var(--color-background-white);
    font-size: 2.8em; /* Consistent with other hero titles */
}

#assessment-hero p {
    color: var(--color-background-white);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2em;
}

/* Assessment CTA Section (similar to homepage-cta) */
#assessment-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

/* Specific override for the Assessment form CTA section background */
#assessment-cta {
    background-image: none;
    background-color: var(--color-purple-team);
    background-blend-mode: normal;
}

#assessment-ty-cta .cta-container {
    text-align: center;
    align-items: center;
}

#assessment-ty-cta h2,
#assessment-ty-cta .cta-link {
    text-align: center;
}

#assessment-ty-cta h2 {
    color: var(--color-background-white);
}

#assessment-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#assessment-cta h2 {
    color: var(--color-background-white);
}


/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010; /* Above the header */
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-deep-purple);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block; /* Show the hamburger */
    }

    header nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-purple-team);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        z-index: 1005; /* Below the toggle button */
    }

    .nav-open header nav {
        opacity: 1;
        visibility: visible;
    }

    header nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    header nav ul a {
        color: var(--color-background-white);
        font-size: 1.8em;
    }
    
    header nav ul a.cta-button {
        border: 2px solid var(--color-orange-training);
        background-color: transparent;
    }
    
    header nav ul a.cta-button:hover {
        background-color: var(--color-orange-training);
        color: var(--color-background-white);
    }
    
    /* Animate hamburger to an 'X' */
    .nav-open .mobile-menu-toggle span {
        background-color: var(--color-background-white);
    }
    .nav-open .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .nav-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav-open .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* Media Queries for Responsiveness */
 
 @media (max-width: 900px) {
     .solutions-grid {
         grid-template-columns: 1fr; /* Correctly stack grid items */
     }
     .solution-card {
         flex-basis: 100%;
     }
     .metrics-bar {
         flex-wrap: wrap;
     }
     .metric {
         flex-basis: 50%;
         margin-bottom: 20px;
     }
 }
 
 @media (max-width: 768px) {
 
     .container {
 
         padding: 0 20px;
 
     }
 
 
 
     /* Globally stack all two-column layouts and add space between them */
 
     .two-column-layout {
 
         flex-direction: column;
 
         text-align: center;
 
         gap: 2rem; 
 
     }
 
 
 
     /* Style the TEXT column on mobile */
 
     .two-column-layout > .column:not(.constrained-image-column) {
 
         padding: 30px; 
 
     }
 
 
 
     /* Style the IMAGE column on mobile */
 
     .two-column-layout > .column.constrained-image-column {
 
         padding: 0; /* Ensure no padding */
 
         width: 100%; /* Ensure it fills the available space */
 
     }
 
     
 
     /* Ensure the image inside is constrained and has the theme's border-radius */
 
     .two-column-layout .column.constrained-image-column img {
 
         height: 300px;
 
         width: 100%;
 
         object-fit: cover;
 
         border-radius: 20px;
 
     }
 
 
 
     /* Center buttons within stacked text columns */
 
     .two-column-layout .btn {
 
         align-self: center; 
 
     }
 
 
 
     .hero-content {
 
         width: 80%;
 
         align-items: center;
 
         text-align: center;
 
     }
 
 }
 
  @media (max-width: 600px) {
     body {
         text-align: center;
     }
     .container {
         padding-left: 10px;
         padding-right: 10px;
     }
     h1 { font-size: 2.5em; } /* Adjusted for mobile */
     h2 { font-size: 1.8em; } /* Added for mobile */
     h3 { font-size: 1.5em; } /* Added for mobile */
     
     /* Make metrics full-width on small screens */
     .metric {
         flex-basis: 100%;
     }
 
     .nav-container {
         flex-direction: row; /* Keep it row for logo and hamburger */
         justify-content: space-between; /* Space them out */
         align-items: center;
         text-align: left;
     }
     nav ul {
         margin-top: 10px;
         flex-wrap: wrap;
         justify-content: center;
     }
    .form-group > div {
        flex: 1 1 100%;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        width: 100%;
        align-items: center;
    }
}

/* --- Services Page Specific Styles --- */

/* Reusable UI Card Style */
.ui-card {
    background-color: var(--color-background-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.ui-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--color-purple-team);
    margin-bottom: 0.5em;
}

.service-card p {
    margin-bottom: 1em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}

th {
    background-color: var(--color-deep-purple);
    color: var(--color-background-white);
}

tbody tr:nth-child(even) {
    background-color: var(--color-background-light-gray);
}

/* --- Method Page Specific Styles --- */
.method-phases {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.method-phase {
    flex: 1 1 calc(33.333% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.method-phase h2 {
    color: var(--color-purple-team);
    margin-bottom: 0.75em;
    font-size: 1.8em;
}

.method-phase p {
    margin-bottom: 1em;
}

.method-phase .checklist {
    margin-top: 1em;
    margin-bottom: 1em;
}

/* --- Social Proof Section --- */
.social-proof-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.social-proof-logos img {
    max-width: 100%; /* Ensure images don't overflow their containers */
    height: auto; /* Maintain aspect ratio */
}

/* Moved from .social-proof-logos img for specificity within slider */
.slide img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-placeholder {
    height: 60px;
    width: 120px;
    background-color: #e0e0e0;
    border-radius: 5px;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-track {
    animation: slide 30s linear infinite;
    display: flex;
    /* width will be calculated by content */
}

.slide {
    height: 100px;
    /* width will be flexible to show 3 at a time */
    flex: 0 0 calc(100% / 3); /* Show 3 slides at a time */
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 100px;
}

/* --- Partners Page Specific Styles --- */
#partners-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left; /* Align text left for two-column */
}

#partners-hero .container {
    padding: 50px 0;
}

#partners-hero .hero-title {
    color: var(--color-background-white);
}

#partners-hero p {
    color: var(--color-background-white);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Two-column layout specific for hero/challenge sections */
.two-column-layout {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.two-column-layout .column {
    flex: 1 1 0%; /* Explicit flex-grow, flex-shrink, basis */
    min-width: 300px; /* Minimum width for columns before wrapping */
}

.two-column-layout.reverse-columns {
    flex-direction: row-reverse;
}

.two-column-layout img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.partner-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2em;
}

.partner-service-card {
    background-color: var(--color-background-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
}

.partner-service-card:hover {
    transform: translateY(-5px);
}

.partner-service-card h3 {
    color: var(--color-purple-team);
    margin-bottom: 1em;
}

/* Partners CTA Section (similar to homepage-cta) */
#partners-cta {
    background-size: cover;
    background-position: center;
    text-align: center;
}

#partners-cta .cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

#partners-cta h2 {
    color: var(--color-background-white);
}

.section-footer {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    font-weight: 600;
}

/* --- Assessment Thank You Page Specific Styles --- */
#assessment-ty-hero {
    min-height: 40vh; /* Consistent with other hero sections */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#assessment-ty-hero .container {
    flex-direction: column;
}

#assessment-ty-hero .hero-title {
    color: var(--color-background-white);
    font-size: 2.8em;
}

.hero-subtitle {
    color: var(--color-background-white);
    font-size: 1.3em;
    margin-top: 0.5em;
}

.centered-text {
    text-align: center;
}

/* Specific override for the footer section on Assessment Thank You page */
#assessment-ty-footer-section {
    background-color: var(--color-background-white);
}

/* --- Contact Thank You Page Specific Styles --- */

/* Spacing for main content area */
#contact-ty-hero + section h2:nth-of-type(2),
#contact-ty-hero + section h2:nth-of-type(3) {
    margin-top: 2em;
}

#contact-ty-hero + section .btn-primary {
    margin-top: 1.5em;
}

/* Specific override for the footer section on Contact Thank You page */
#contact-ty-footer-section {
    background-color: var(--color-background-white);
}

/* Specific styling for Contact Thank You CTA */
#contact-ty-cta .cta-container {
    text-align: center;
    align-items: center;
}

#contact-ty-cta h2,
#contact-ty-cta .cta-link {
    text-align: center;
}

#contact-ty-cta h2 {
    color: var(--color-background-white);
}

#contact-ty-hero {
    min-height: 40vh; /* Consistent with other hero sections */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#contact-ty-hero .container {
    flex-direction: column;
}

#contact-ty-hero .hero-title {
    color: var(--color-background-white);
    font-size: 2.8em;
}

/* hero-subtitle is already defined and applies */

.section-purple .two-column-layout .column {
    text-align: left;
}

/* Specific overrides for hero sections that might have text-align: center */
#homepage-hero,
#about-hero,
#services-hero,
#method-hero,
#faq-hero,
#assessment-hero,
#partners-hero,
#assessment-ty-hero,
#contact-ty-hero,
#contact-hero {
    text-align: left; /* Override any centering for the section itself */
}

/* Ensure children within the column are also left-aligned if they are block elements */
.section-purple .two-column-layout .column h1,
.section-purple .two-column-layout .column p,
.section-purple .two-column-layout .column .btn {
    text-align: left;
    /* Optional: If buttons are still centered, they might have `align-self: center` or similar. */
    /* If needed, you might add: align-self: flex-start; for .btn inside these columns */
}

/* For buttons within two-column layout hero sections to left align */
.section-purple .two-column-layout .column .btn-primary,
.section-purple .two-column-layout .column .btn-secondary {
    align-self: flex-start; /* Ensure buttons align left */
    margin-left: 0; /* Remove any auto margins that might center them */
    margin-right: auto;
}


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

/* 4-Step Process Section */
.four-step-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3em;
    text-align: center;
}

.step-card {
    padding: 20px;
}

.step-card .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--color-purple-team);
    color: var(--color-background-white);
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 1em;
}

.step-card h3 {
    color: var(--color-purple-team);
}

/* Timeline Box */
.timeline-box {
    background-color: var(--color-soft-lavender);
    border-left: 5px solid var(--color-purple-team);
    padding: 20px 30px;
    margin-top: 2em;
    border-radius: 0 10px 10px 0;
}

.timeline-box p {
    font-weight: 600;
    color: var(--color-deep-purple);
    display: flex;
    align-items: center;
    gap: 10px;
}
.timeline-box p:first-child {
    margin-bottom: 1em;
}

/* FAQ Accordion */
.faq-accordion .faq-item {
    background-color: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
}
.faq-accordion .faq-item summary {
    font-size: 1.1em;
}
.faq-accordion .about-text-list {
    padding-top: 1em;
}



