* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* Reset some default Bootstrap styles for the body */
body {
    font-family: 'Lora', serif;
    font-size: 16px;
    background: #f2f2f2;
}

/* Apply Rubik font to headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    margin-bottom: 1rem;
    font-weight: 500;
    color: #333;
}

h1 {
    font-size: 28px;
    color: #016A70;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
}

h2 {
    font-size: 24px;
}

h3 {    
    font-size: 20px;
    color: #016A70;
    font-weight: 600;

}

h4 {

    font-size: 18px;
}

.emphasis {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-variant: small-caps;
    background: #A2C579;
    font-weight: bold;
    padding: 0 5px;
    border-radius: 2px;
    color: #18292a;
    width: 100%;
}

header p:nth-child(3) {
    margin-top: 1rem;
}
/* Updated style for the navbar */
.navbar {
    width: 100%;
    background-color: #fff; /* Background color for the navbar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Drop shadow */
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure it appears above other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    font-size: 0.9em;
    font-weight: 500;
    font-family: 'Rubik', sans-serif;
    position: relative;
}


#spacer {
    margin-bottom: 3rem;
}

.logo {
    width: 264px;
    margin-right: 4rem;
}
/* Style for the logo */
.logo img {
    width: 100%;
}

/* Style for contact information and social icons */
.contact-info {
    display: flex;
    align-items: center;
    color: #333; /* Text color for contact info and icons */
}

.phone, .email {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Adjust spacing between phone and email */
}

.phone img, .email img {
    margin-right: 5px; /* Adjust spacing between icon and text */
}

/* Style for social media icons */
.social-icons a {
    margin-left: 10px; /* Adjust spacing between social icons */
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff; /* Change the color on hover */
}


/* Center the page content */
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 3rem auto;
    height: auto;
}

/* Style the form elements */
form {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 100%;
}

.col-lg-8 {
    width: 60%;
    float: left; /* Left column (60%) */
    padding: 2rem 4rem 2rem 2rem;
}

.col-lg-4 {
    width: 40%; /* Right column (40%) */
    float: right;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 0.8em;
}

.tab-container {
    display: flex;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 2rem 0;
}

.tab-button {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    background-color: #FFFFDD;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
    border-radius: 0;
}

.tab-content {
    flex: 1;
    padding: 20px;
    display: none;
}

.tab-button.active {
    background-color: #016A70;
    border-radius: 3px;
}

.tab-content.active {
    display: block;
}

.stats {
    padding: 2rem;
    background: #ffffff;
    border: 1px dashed #3d4238;
    margin: 2rem 0;
}

.stats h3 {
    text-transform: capitalize;
    font-weight: 500;
}

.sales-cp {
    position: relative;
    background: #A2C579;
    width: 100%;
    margin-top: 4rem;
    padding: 4rem 3rem 2rem 3rem;
    line-height: 1.5;  
    height: 100%;  
}

.flex-display {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.flex-display .video {
    margin: 2rem 1rem;
    padding: 2rem 1rem 2rem 2rem;
    background: #fff;
    max-height: 500px;
    box-shadow: 1px 1px 3px #3d4238;
}

.emphasis-2 {
    padding-top: 2rem;
    font-size: 0.9em;
    font-family: 'Lato', sans-serif;
    color: #333;
    padding: 1rem;;
}

 
.active {
    display: block;
}

/* CSS for hiding the forms and styling the buttons */
.hidden {
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out; /* Add a smooth transition effect */
}

.form-container {
    text-align: left;
    margin-top: 20px;
}

.active-button {
    background-color: #FFFFDD; /* Background color for the active button */
    color: #2a2c29;
    /* Add any other styles you want for the active button */
}

button {
    padding: 10px 5px;
    margin: 0;
    background-color: #016A70; /* Default background color for buttons */
    color: #fff; /* Text color for the active button */
    /* Add any other styles you want for buttons */
    border: none;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'Rubik', sans-serif;
}


/* Add a fade-in animation for the forms */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out; /* Use the fadeIn animation */
}

.controls {
    border-radius: 3px;
    padding: 5px;
    background: #D2DE32;
}


/* Form group styles */
.form-group {
    margin-bottom: 15px;
}

/* Label styles */
.form-group label {
    display: block;
    font-size: 14px;
}

/* Input field styles */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styles */
button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Additional styles */
h4 {
    margin-top: 0;
}

.hidden {
    display: none;
}

.sales {
    margin-top: 2rem;
    padding-left: 1rem;
}

.program-tabs > h1:nth-child(1){
    color: #f8f9ee;
    text-shadow: #2a2c29 2px;
}

#footer{
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    background: #5b5b5b;
    padding: 4rem 0;
    font-size: 0.8em;
    font-family: 'Lato', sans-serif;
    color: #ccc;
}

#footer .stats-sources{
    display: flex;
    justify-content: center;
    align-items: center;  
    margin: 2rem 0;  
    color: #dedddd;
    font-style: italic;
    font-size: 12px;
} 

#footer .copyright{
    display: flex;
    justify-content: center;
    align-items: center;    
}

#footer .copyright p {
    padding: 0 1rem;
}

.tab-pane {
    margin-bottom: 2rem;
}

.tab-pane p {
    margin-bottom: 1rem;

}

.contact-info > img {
    width: 50px !important;
    height: 50px !important;
}

/* MEdia queries for mobile */

/* Media query for screens smaller than 768px (typical mobile devices) */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* Decrease font size for smaller screens */
        width: 100%;
    }

    .container {
        width: 90%; /* Make the content container wider on smaller screens */
    }

    .col-lg-8 {
        width: 100%; /* Full width for left column on smaller screens */
        padding: 2rem; /* Adjust padding for smaller screens */
        float: none;
    }

    .col-lg-4 {
        width: 100%; /* Full width for right column on smaller screens */
        padding: 2rem; /* Adjust padding for smaller screens */
        float: none;
    }

    .logo {
        width: 200px; /* Decrease logo width for smaller screens */
        margin-right: 2rem; /* Adjust margin for smaller screens */
    }

    .navbar {
        padding: 1rem; /* Adjust padding for smaller screens */
        display: block;
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 2rem;
    }

    .navbar .logo {
        width: 100%;
        padding: 1rem;
    }

    .navbar .logo img {
        width: 100%;
        height: 100%;
    }

    .navbar .contact-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        text-align: center;
        font-size: 1.3em;
        padding: 1rem;
        border-top: 1px solid #3d4238 ;
        border-bottom: 1px solid #3d4238 ;
    }

    .navbar .contact-info .phone {
            border-right: 1px solid #3d4238 ;
    }

    .contact-info .social-icons {
        display: none;
    }

    .sales-cp {
        display: block;
        padding: 3rem 3rem;
        width: 100%;
        height: auto;
    }

    .flex-display {
        grid-template-columns: 1fr;
    }

    .flex-display .sales h1 {
        font-size: 3em;
        line-height: 1.2;

    }

    .emphasis-2 {
        font-size: 1.2em;
    }

    /* ... (other styles for smaller screens) */
}