/* assets/css/style.css */

/* --- Universal Box Sizing --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*
* {
    outline: 1px solid red;
}

 */

html {
    font-size: 100%;
}
/* --- Variables --- */
:root {
    --primary-color: #3a506b; /* Muted Blue */
    --secondary-color: #6c757d; /* Soft Gray */
    --background-color: #f8f9fa; /* Off-White */
    --text-color: #343a40; /* Dark Gray */
    --accent-color: #5bc0be; /* Teal Accent */
    --heading-font: 'Atkinson Hyperlegible';
    --body-font: 'Atkinson Hyperlegible';
}

/* --- General Styles --- */
body {
    margin: 0;
    font-family: var(--body-font), serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 2px;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.separator {
    font-size: 1.5em; /* Adjust size as needed, e.g., 20px, 2em, etc. */
    vertical-align: middle; /* Helps align the pipe vertically */
    margin: 0 5px; /* Add some space around the pipe */
    color: var(--accent-color);
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.5rem;
}

section {
    padding: 1rem 0;
}

section[id] {
    scroll-margin-top: 40px;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Sticky position */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures it stays on top of other content */
    width: 100%;
}

/* We reuse the .container class to align the nav content with the page content */
.site-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.main-nav {
    display: flex;
    /* justify-content: space-between; */
    gap: 1rem;
    align-items: center;
    height: 50px; /* Sets the height of the navbar */
}

/* Hide the checkbox */
.menu-toggle {
    display: none;
}

/* NEW: Mobile Menu Button Styles */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
    position: relative;
    width: 40px;
    height: 30px;
}

.menu-links {
    width: 100%;
    display: flex; /* Hide the menu by default on mobile */

    /* gap: 0; */
}


/* Visually hide the text but keep it accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hamburger Icon Lines */
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    background-color: white;
    position: absolute;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

.hamburger-icon::before {
    top: 5px;
}

.hamburger-icon::after {
    bottom: 5px;
}

.site-title {
    font-family: var(--heading-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    width: 40%
}

.site-title:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.main-nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

/*
.main-nav li {
    margin-left: 2rem;
}

 */

.main-nav a {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

/* --- Navigation Call-to-Action Button --- */
.nav-cta {
    background-color: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.nav-cta:hover {
    background-color: #4caaa8; /* A slightly darker shade of the accent color */
    text-decoration: none;
    color: white;
}

.cta-button {
    background-color: var(--accent-color);
    width: 100%;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
    text-align: center;
}

.cta-button:hover {
    background-color: #4caaa8;
    text-decoration: none;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    margin: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-content-top {
    margin: 3rem;
}

.hero-content {
    display: flex;
    gap: 1rem;
    margin: 3rem;
    justify-content: center; /* Horizontally centers the link */
    align-items: center; /* Vertically centers the link */
}

.hero-content-left, .hero-content-right {
    flex: 1;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 0.0rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-image-wrapper img {
    max-width: min(270px, 90%);
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--accent-color);
}


/* --- welcome Section --- */
.welcome-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.0rem 1.5rem 1.5rem 1.5rem;
}

.welcome-content-left {
    flex: 1.5;
}
.welcome-content-right {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    padding-top: 2rem;
}
.welcome-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.welcome-image-wrapper img {
    max-width: 200px;
    height: auto;
    border: 5px solid var(--accent-color);
}
.vimeo-container {
    position: relative;
    overflow: hidden;
    max-width: 87.5%;
    height: 500px;
    border: 5px solid var(--accent-color);
}

.vimeo-container iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* --- Approach Section --- */
#approach{
    border: 0;
}
.approach-content{
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/images/lake.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    /* fix the height */
    height: 0;
    min-height: 50vh;
    padding-bottom: 56.25%;
}
.approach-text{
    position: absolute; /* Positions the box relative to the container */

    /* Center the box perfectly */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    /* 50% transparent grey background */
    background-color: rgba(100, 100, 100, 0.5);
    color: white; /* Text color */
    padding: 10px; /* Space inside the box */
    border-radius: 8px; /* Rounded corners */
    text-align: center;
    font-size: 1.6rem;
}
.approach-h2 {
    color: white;
}
/* --- What to Expect Section --- */
#expect {
    font-size: 1.3rem;
}
.expect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    font-size: 1rem;
}

.expect-item {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}
.expect-item p{
    margin-bottom:0;
}

.expect-item-description {
    border-radius: 8px;
    padding: 0.5rem;
}
.expect-item-approach {
    border-radius: 8px;
    padding: 0.5rem;
    background-color: var(--background-color);
}

.expect-item h3 {
    margin-top: 0;
}
/* --- Credentials Section --- */
#credentials {
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 0
}

.credentials-content {
    display: flex;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    gap: 1rem;
}
.credentials-image-wrapper img {
    max-width: min(300px, 80%);
    height: auto;
    border: 0.25rem solid var(--accent-color);
}
.credentials-content-left {
    flex: 2;
}
.credentials-content-right {
    flex: 1;
}
/* Add these styles in your Credentials Section */
.credential-list {
    margin-top: 0.5rem;
}

.credential-item {
    background-color: #fff;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color); /* Consistent with service items */
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    text-align: left;
}

.credential-item strong {
    background-color: var(--accent-color);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevents the badge from breaking onto a new line */
}
/* --- Credential - Training --- */
#training {
    font-size: 1.3rem;
}
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    font-size: 1rem;
}

.training-item {
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--primary-color);
}
.training-item p{
    margin-bottom:0;
}

.training-item-title {
    border-radius: 8px;
    padding: 0.5rem;
}
.training-item-description {
    border-radius: 8px;
    padding: 0.5rem;
    background-color: var(--background-color);
}
/* --- Contact Section --- */
#contact {
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 0
}
.contact-content {
    display: flex;
}
.contact-content-left, .contact-content-right {
    display: flex;
    flex: 1;
    flex-direction:column;
    gap: 1rem;
    justify-content: center;
}

.note {
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.9rem;
}

footer p {
    margin: 0.25rem 0;
}
/* --- Social Media Links --- */
.social-links {
    display: flex; /* Aligns icons in a row */
    justify-content: center; /* Or flex-start to align left */
    gap: 1.5rem; /* Space between the icons */
    margin-top: 1rem;
}

.social-links a {
    color: var(--primary-color); /* Or your desired icon color */
    font-size: 2.5rem; /* Controls the size of the icon */
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1); /* Slightly enlarges the icon on hover */
    color: var(--accent-color); /* Changes color on hover */
    text-decoration: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    html {
        font-size: 95%;
    }

    .hero-content, .credentials-content, .contact-content, .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem; /* Add this to create vertical space when stacked */
    }

    /*
    h1, .hero h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

     */

    .main-nav {
        justify-content: space-between;
    }
    .menu-toggle {
        display: block; /* Show the button on mobile */
    }

    .menu-links {
        display: none; /* Hide the menu by default on mobile */
        position: absolute;
        top: 100%; /* Position it right below the header */
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .menu-links ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        width: 100%;
    }

    .main-nav li {
        margin: 0;
        width: 100%;
    }

    .main-nav li a {
        display: block;
        padding: 1rem;
        text-align: center;
        width: 100%;
    }

    /* Show the menu when the .is-open class is present */
    .menu-links.is-open {
        display: block;
    }

    /* Stack right item on top of left item */
    .hero-content-left {
        order: 2;
    }

    .hero-content-right {
        order: 1;
    }
    .welcome-bottom {
        flex-direction: column;
    }
    .approach-content{
        min-height: 90vh;
    }
    .expect-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
        gap: 1rem;
        font-size: 1rem;
    }

    /* Stack right item on top of left item */
    .credentials-content-left {
        order: 2;
        flex-direction: column;
    }

    .credentials-content-right {
        order: 1;
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }
    .vimeo-container {
        max-width: 100%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 90%;
    }
}
@media (max-width: 350px) {
    html {
        font-size: 85%;
    }
}