
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    padding: 10px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure the header is on top */
}

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

.logo img {
    height: 50px;  /* Ensure the logo is 50px in height */
    width: auto;   /* Maintain the aspect ratio */
}
header .logo {
    float: left;
    margin-left: 20px;
    width: 50px;
    height: auto;
}

header nav {
    float: right;
    margin-right: 20px;
}

header nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 3px;
}

.cta {
    margin-left: auto;
}

.cta button {
    font-size: 18px; /* Set font size to 18px */
    background-color: lightgreen;
    color: black;
    border: 2px solid white; /* Add a border to the button */
    padding: 10px 20px;
    border-radius: 25px; /* Very rounded corners */
    cursor: pointer;
}

.cta button:hover {
    background-color: darkgreen;
}

.hero {
    background: url('https://via.placeholder.com/1200x400') no-repeat center center/cover;
    height: 400px;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3em;
}

main {
    padding: 20px 0;
    padding-top: 100px; /* Adjust this based on the height of your fixed header */
}

main .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

main .content .box {
    flex: 1;
    min-width: 300px;
    margin: 20px;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.calendly-inline-widget{
    box-shadow: 0 0 20px 10px silver;
    border: 1px solid lightgrey;
    box-shadow: 0 0 20px 10px silver;
    padding: 10px;
    border-radius: 10px;
}

h1 {
    font-size: 3em; /* Example size */
}

h2 {
    font-size: 1.8em; /* 60% of 3em */
}

@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5em;
    }

    .blog-section h2 {
        font-size: 1.5em; /* Adjusted for smaller screens */
    }
}

@media (max-width: 768px) {

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

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul li {
        margin: 5px 0;
    }

    .cta {
        margin-left: 0;
        margin-top: 10px;
    }

    header .logo, header nav {
        float: none;
        text-align: center;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
    }

    header nav ul li {
        margin: 5px 0;
    }

    .hero {
        height: 200px;
    }

    .hero h1 {
        font-size: 2em;
    }

    .blog-section h2 {
        font-size: 1.2em; /* Adjusted for smaller screens */
    }

    .blog-post {
        flex: 1 1 100%;
        margin: 10px 0;
        padding: 15px;
    }

    .video-container {
        padding: 10px 0;
    }

    .box {
        margin: 20px 0;
        padding: 20px;
        border: 1px solid #ddd;
        box-sizing: border-box;
        width: 100%;
    }

    .box img {
        max-width: 100%;
        height: 25vh; /* 25% of the viewport height */
        object-fit: contain; /* Ensures the image scales properly */
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    header nav ul li a {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .blog-section h2 {
        font-size: 1em; /* Adjusted for smaller screens */
    }

    .blog-post h3 {
        font-size: 1.2em;
    }

    .blog-post p {
        font-size: 0.9em;
    }
}

.left-section,
.right-section {
    width: 48%; /* Each section takes 48% of the available width */
    padding: 20px; /* Add padding to sections */
    box-sizing: border-box; /* Include padding in the width */
}

.left-section {
    text-align: left;
}

.right-section {
    text-align: right;
}

.left-section h1,
.left-section h2,
.right-section h1,
.right-section h2 {
    margin-top: 0;
}

/* VIDEO CONTAINER START */
.video-container video {
    max-width: 100%; /* Max width 100% */
    height: auto;
    border-top-left-radius : 15px;
    border-top-right-radius : 15px;
    border-bottom-left-radius : 15px;
    border-bottom-right-radius : 15px;
    overflow: hidden; /* Ensure the video respects the border radius */
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.5); /* Fuzzy silver shadow */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}
/* VIDEO CONTAINER END */

/* CONTACT FORM START */
.contact-section {
    width: 100%; /* Take all the width of the containing section */
    border: 1px solid lightgrey;
    box-shadow: 0 0 20px 10px silver;
    padding: 10px;
    border-radius: 10px;
}

.contact-form {
    width: 100%; /* Take all the width of the form */
}

.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: none; /* Prevent resizing */
}

.contact-form textarea {
    height: auto; /* Allow height to adjust based on rows */
    overflow-y: auto; /* Show scrollbar if needed */
}

.input-group {
    margin-bottom: 20px;
    margin-right: 10px;
    margin-top: 10px;
}

.input-group label {
    display: inline-block;
    width: 30%; /* Label takes 30% of the width */
    font-size: 15px;
}

.input-group input[type="text"],
.input-group input[type="email"] {
    width: 50%; /* Input fields take 70% of the width */
    font-size: 15px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* CONTACT FORM END */

/* Adjusting for header overlap */
#contact {
    position: relative;
    top: -50px; /* Adjust this to the height of your header */
    padding-top: 50px; /* Add equal padding to avoid content shifting */
}

html {
    scroll-padding-top: 100px; /* Ensures smooth scrolling past the header */
}
/* CONTACT FORM END */

/* QUOTE SECTION START */
.quote-section blockquote {
    font-style: italic;
    font-size: 1.5em;
    color: #333;
    padding: 20px; /* Ensure padding around the quote */
    margin: 20px auto;
    background-color: #f9f9f9;
    max-width: 600px;
    border-radius: 10px; /* Rounded corners for the blockquote */
    border: none; /* Remove the vertical line */
}

.quote-section blockquote p {
    margin: 0; /* Remove extra margins around the paragraph */
    padding: 0 20px; /* Ensure text is clear of the border by 20px on both sides */
}

.quote-section blockquote footer {
    text-align: right;
    font-size: 0.8em; /* Smaller font size for footer */
    font-style: normal;
    color: #555;
    margin-top: 10px;
    background-color: #f9f9f9;
    border-radius: 10px; /* Apply rounded corners to the footer */
    padding: 10px 20px; /* Ensure padding around the footer text */
}


/* QUOTE SECTION END */

/* BLOG SECTION START */
.blog-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* Add space below the section */
    padding: 20px;
}

/* Center the h2 header */
.blog-section h2 {
    margin-bottom: 20px; /* Add space below the header */
}

/* Container for blog posts */
.blog-posts {
    display: flex;
    justify-content: space-between; /* Add spacing between blog posts */
    align-items: flex-start; /* Align blog posts at the start */
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    flex-wrap: wrap; /* Ensure that blog posts wrap to the next line if needed */
}

/* Individual blog post styling */
.blog-post {
    flex: 1 1 23%; /* Flex-grow: 1, Flex-shrink: 1, and Flex-basis: 23% */
    text-align: center; /* Center the content inside each blog post */
    margin-bottom: 20px; /* Space below each blog post */
    border: 2px solid darkgrey;
    box-shadow: 0 0 20px 10px silver;
    padding: 10px;
    border-radius: 10px;
    max-width: 250px; /* Optional: Maximum width */
    height: 450px; /* Set a fixed height to ensure uniformity */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Evenly distribute content */
    box-sizing: border-box; /* Ensure padding is included in width and height */
}


/* Style for blog post images */
.blog-post img {
    width: 100%; /* Take the full width */
    max-height: 250px; /* Set a maximum height */
    object-fit: contain; /* Ensure the entire image is shown without cropping */
    border-radius: 10px;
}

/* Style for blog post headers */
.blog-post h3 {
    margin: 10px 0 5px; /* Add space above and below the h3 */
    text-align: left;
}

/* Style for blog post descriptions */
.blog-post p {
    margin: 0; /* Remove default margin from the p element */
    text-align: left;
}

.blog-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit the text color */
    display: block; /* Make the entire block clickable */
    padding: 10px; /* Add padding for better visual effect */
    border-radius: 5px; /* Add rounded corners */
    transition: background-color 0.3s ease, transform 0.1s ease; /* Smooth transition for background color and transform */
}

.blog-link:hover {
    background-color: #f0f0f0; /* Change background color on hover */
}

.blog-link:active {
    transform: scale(0.98); /* Slightly scale down on click */
    background-color:#e0e0e0; /* Change background color when clicked */
}
/* BLOG SECTION END */

/* FAQ SECTION START */
.faq-container {
    text-align: left;
    margin-top: 30px; /* Adjusted margin top */
    margin-bottom: 50px; /* Added margin bottom */
    color: black;
    max-width: 1000px; /* Max width set to 1000px */
    width: 100%;
    margin: 30px auto 50px; /* Center the FAQ container and adjust top margin */
}


.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    font-size: inherit; /* Inherit font size from parent */
}

.faq-question p {
    margin: 0;
}

.faq-answer {
    display: none;
    padding: 10px;
    color: grey;
    line-height: 1.5; /* Adjust the line-height as needed */
}

.faq-answer p {
    margin: 0;
}

.chevron {
    transition: transform 0.3s ease;
}

.chevron.active {
    transform: rotate(180deg);
}
/* FAQ SECTION END */

/* FOOTER START */
footer {
    text-align: center;
    background-color: lightgrey;
}

footer nav {
    display: inline-block; /* Ensures the nav is centered */
}

footer nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center; /* Center the items horizontally */
}

footer nav ul li {
    margin-right: 20px;
}

footer nav ul li:last-child {
    margin-right: 0;
}

footer nav ul li a {
    text-decoration: none;
    color: #000; /* Change to your desired color */
}

footer p {
    margin-top: 20px; /* Adjust as needed */
}
/* FOOTER END */

/* Training Section Styling */
.training-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px; /* Add space below the section */
    padding: 20px;
}

/* Center the h2 header */
.training-section h2 {
    margin-bottom: 20px; /* Add space below the header */
}

/* Container for training courses */
.training-catalog {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Individual training course styling */
.training-course {
    width: 48%; /* Double the width */
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid darkgrey;
    box-shadow: 0 0 20px 10px silver;
    padding: 10px;
    border-radius: 10px;
    max-width: 500px; /* Adjust max-width for a bigger box */
    height: auto;
    display: inline-block;
}

/* Style for training course images */
.training-course img {
    width: 100%; /* Ensures the image takes up the full width of the container */
    max-height: 300px; /* Maintains the aspect ratio by adjusting the height */
    object-fit: contain; /* Ensures the entire image is shown within the container */
    border-radius: 10px; /* Optional: Adds rounded corners */
}

/* Style for training course headers */
.training-course h3 {
    margin: 10px 0 5px; /* Add space above and below the h3 */
    text-align: left;
}

/* Style for training course descriptions */
.training-course p {
    margin: 0; /* Remove default margin from the p element */
    text-align: left;
}

/* Link styling for the entire training course */
.training-link {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit the text color */
    display: block; /* Make the entire block clickable */
    padding: 10px; /* Add padding for better visual effect */
    border-radius: 5px; /* Add rounded corners */
    transition: background-color 0.3s ease, transform 0.1s ease; /* Smooth transition for background color and transform */
}

/* Hover and active state for training courses */
.training-link:hover {
    background-color: #f0f0f0; /* Change background color on hover */
}

.training-link:active {
    transform: scale(0.98); /* Slightly scale down on click */
    background-color: #e0e0e0; /* Change background color when clicked */
}

/* Media Queries */
@media (max-width: 768px) {
    .training-catalog {
        flex-direction: column;
        align-items: center;
    }

    .training-course {
        width: 80%; /* Expand the width for smaller screens */
    }
}

@media (max-width: 480px) {
    .training-course h3 {
        font-size: 1.2em;
    }

    .training-course p {
        font-size: 0.9em;
    }
}
