/* --- 1. GLOBAL STYLES & VARIABLES --- */
:root {
    --color-primary: #004c8c;       /* Dark Blue (Main Text/CTA) */
    --color-secondary: #4978bb;     /* Light Blue (Header/Background Gradient) */
    --color-light-blue: #e8f7ff;    /* Very Light Blue (Background) */
    --color-white: #ffffff;
    --color-dark-text: #333333;
    --color-gray-text: #666666;
    --color-cta-eta: #58b669;       /* Green */
    --color-cta-food-safety: #9c27b0; /* Purple */
    --color-cta-cove: #4CAF50;      /* Dark Green */
    --max-width: 100vw;
    --background-color: #daf9ff;
}

@font-face {
  font-family: 'Indivisible';
  src: url('assets/fonts/Indivisible-Regular.woff2') format('woff2'),
       url('assets/fonts/Indivisible-Regular.woff') format('woff');
  font-weight: 400; /* Regular weight */
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Indivisible';
    src: url('assets/fonts/Indivisible-Bold.woff2') format('woff2'),
         url('assets/fonts/Indivisible-Bold.woff') format('woff');
    font-weight: 700; /* Bold weight */
    font-style: normal;
    font-display: swap;
}

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

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: 'Indivisible', sans-serif;
    color: var(--color-dark-text);
    line-height: 1.6;
    background-color: var(--background-color) ;
}

h1, h2, h3 {
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-transform: capitalize;
}

h1 .title-sub {
    margin-left: 40px;
    display: inline-block;	
}

/* Reusable Container */
/* .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
} */
 /* --- Basic Setup --- */
.container {
    /* width: 90%; */
    max-width: 95%; /* Aligns the main content */
    margin: 0 auto;
}

/* --- Navbar/Logo --- */
.navbar {
    display: flex;
    align-items: center;
    padding: 10px 0; /* Add padding below the logo */
}

.logo {
    height: 40px; /* Adjust height as needed */
    /* It's implicitly aligned with the .container's left edge */
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s;
    border: 2px solid transparent;
    font-family: Indivisible, sans-serif;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 40px;
}

/* Outline Buttons (Used in Brand Cards) */
.btn-outline-eta, .btn-outline-food-safety, .btn-outline-cove {
    padding: 8px 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold !important;
}

.btn-outline-eta {
    color: #f7f5f8;
    border-color: #3abbc4;    
    background-color: #3abbc4;
}

.btn-outline-food-safety {
    color: #f7f5f8;
    border-color: #7a3a76;    
    background-color: #7a3a76;
}

.btn-outline-cove {
    color: #f7f5f8;
    border-color: #5bb947;    
    background-color: #5bb947;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

@media (max-width: 767px) {
    .hero-section {
        overflow: visible;
    }
}


.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 20px 0;
}

@media (max-width: 767px) {
    .navbar {

    }
}

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

.logo img {
    height: 119px;
    margin-top: 189px;
    width: auto;
}

@media (max-width: 767px) {
    .logo img {
        height: 40px;
        margin-top: 15px;
    }
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-primary);
    text-transform: uppercase;
}

.hero-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: flex-start;
    max-width: var(--max-width);
    margin: -100px auto 0;
    padding: 0 20px;
}

.hero-content::before {
    content: '';
    position: absolute;
    /* width: 110vh; */
    /* width: 57%; */
    width: 1000px;
    height: 53%;
    z-index: -1;
    right: 20px;
    background-image: url(assets/top-left-man.png);
    /* padding-bottom: 60%; */
    background-repeat: no-repeat;
    opacity: 0.6;
    top: -179px;
}

@media (max-width: 768px){
    .hero-content::before{
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1534px) {
    
    .hero-content {
        /* margin: -61px auto 0 !important; */
    }

    .hero-image {
        /* background-position: right -938px bottom 335px !important; */
    }

    .create-your-opportunity {
        /* font-size: 75px !important; */
        /* margin-top: -55px !important; */
        font-size: clamp(2.5rem, 6vw, 6.875rem);
    }

    .brand-card-body {
        min-height: 350px !important;
    }

    .hero-content::before {
        width: 950px;
    }
    
 
		  
	
}


@media (min-width: 768px) and (max-width: 1430px) {

    .brand-cards-container {
	    /* 		grid-template-columns: repeat(1, 1fr) !important;	    

			*/
	 }
	   
	   
	 .logo img {
	       height: 100px;
	  }
		  
	.value-prop-cards-container {
		display: block !important; 	
	}
	
	.value-prop-cards-container > div {
		margin-bottom: 40px;	
	}
	
	.brand-card-body {
	    min-height: 524px !important;
	    padding-bottom: 70px !important;
	   }

}


@media (min-width: 768px) and (max-width: 1200px) {
    .hero-content::before {
        width: 838px;
    }

    .card-food-safety>img {
        width: 80% !important;
    }
}
@media (max-width: 767px) {
    .hero-content {
        display: block;
        padding: 0 20px;
        max-width: none;
        margin: 0;
    }
    
	
	.brand-card-body {
	    padding-bottom: 70px !important;
	   }    
    
}

.text-and-button {
    -webkit-flex: 1;
    flex: 1;
    max-width: 50%;
}

@media (max-width: 767px) {   
     .text-and-button {
        max-width: 100%;
    }
    
}


/* .hero-man-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 110%;
    height: auto;
} */




.hand-images {
    position: absolute;
    z-index: 3;
    background-image: url(assets/hands-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 94%;
    height: 46%;
    top: 54%;
    right: 1%;
}

.hero-image {
    flex-basis: 50%;
    position: relative;
    /* background-image: url(assets/top-left-man.png); */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    /* background-position: right -1179px bottom 423px; */
    padding-bottom: 60%;
    height: 0;
}

.hero-man-img {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 110%; /* Makes the image slightly larger than its container */
    height: auto;
}

.hand-images {
    position: absolute;
    z-index: 3;
    background-image: url(assets/hands-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 94%;
    height: 46%;
    top: 54%;
    right: 1%;
}

@media (max-width: 767px) {
    .hero-image {
        flex-basis: auto; 
        width: 100%;
        padding-bottom: 120%;
        background-position: center; 
        background-image: none;
        position: relative;
        left: -42px;
    }
    
    .hero-man-img {
        width: 119%;
        top: -43px;
        left: 57%;
    }

    .hand-images {
        width: 70%;
        height: 35%;
        top: 65%;
        right: 8px;
    }
    
  
}
@media (min-width: 768px) { 
    .create-your-opportunity {
        color: rgb(21, 35, 57);
        /* font-size: 110px; */
        font-size: clamp(3rem, 6vw, 6.875rem);
        /* margin-top: 95px; */
        line-height: 1.1;
        font-weight: bold;
        margin-top: 400px !important;
    }
}
@media (max-width: 767px) {    
    .create-your-opportunity{
        font-size: 8vw !important;
        margin-top: 50px !important;
        margin-bottom: 10px !important;
    }
}
.create-span {
    background-color: #4978bb;
    padding: 0px 40px;
    border-radius: 146px;
}
/* Basic styling for the search button text placement */
.btn-primary {
    margin-top: 20px;
    text-transform: uppercase;
}

/* --- 3. OUR BRANDS SECTION --- */

.brands-section {
    padding: 10px 20px;
    box-shadow: 0 -4px 8px -8px rgba(0, 0, 0, 0.3);
}

.brands-section h2 {
    font-size: 69px;
    font-weight: bold;
    color: #4c78b9;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

@media (max-width: 767px) {
    .brands-section h2 {
        font-size: 8vw; 
    }
}

.brand-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: var(--max-width);
    margin: 0 auto 50px;
}

.brand-card {
    padding: 0px 30px 0px 30px;
    border-radius: 10px;
    text-align: center;
}

.brand-cards-container > div:hover  .brand-card-body {
	transition-duration: 500ms;
  box-shadow: 0 0 20px 5px #4978bb;
		
}

.brand-cards-container > div:hover  .brand-card > img {
	transition-duration: 500ms;
	height: 100px;
}	


.testimonial-card:hover {
	transition-duration: 500ms;
	box-shadow: 0 0 20px 5px #4978bb !important;

}


@media (max-width: 767px) {
    .brand-card {
        padding: 0px 15px 0px 15px; 
        padding-bottom: 40px !important;
    }
}

.brand-card img {
   /*width: 100%;*/
    margin-bottom: 15px;
    max-width: 250px;
}

.brand-cards-container > div:hover  img.brand-logo {
		transition-duration: 500ms;
		height: 100px !important;
		max-width: 300px;
}


.brand-card .brand-logo{
    margin-top: 30px;
    height: 80px;
}

.brand-card>div>img#cta-logo {    
    height: 75px;;
}

@media (max-width: 767px) {
    .brand-card > div > img#cta-logo {
      /*  width: 120px; */
    }
}

.brand-card>div>img#food-safety-training-logo{
    height: 75px;;
}

@media (max-width: 767px) {
    .brand-card > div > img#food-safety-training-logo {
        /*width: 180px; */
    }
}

.brand-card>div>img#cove-training-logo {
    height: 75px;;
}

@media (max-width: 767px) {
    .brand-card > div > img#cove-training-logo {
       /* width: 120px; */
    }
}

.brand-card-body {
    position: relative; 
    border-radius: 10px;
    background-color: #fff;
    padding: 10px 5px;
    padding-bottom: 50px;
    min-height: 280px;
}

@media (max-width: 767px) {
    .brand-card-body {
        min-height: 251px;
    }
}

.brand-card-body p {
    padding: 20px 40px;
    text-align: center;
    min-height: 240px !important;
}

.cta-section h3,
.card-food-safety h3,
.card-cove h3 {   
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 17px;
}

.cta-section h3 {
     color: #3abbc4;
}

.card-food-safety h3 {
    color: #7a3a76;
}

.card-cove h3 {
    color: #5bb947;
}

.brand-card-body a.btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.brand-card-body a.title {
	text-decoration: none;
}

.value-prop-section {
    padding: 20px 30px 0 30px;
    text-align: center;
    box-shadow: 0 -4px 8px -8px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .value-prop-section {
        padding: 10px 30px 0 30px;
    }
}

.value-prop-section h2 {
    color: #4c78b9;
    font-size: 60px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .value-prop-section h2 {
        font-size: 9vw; 
        line-height: .9;
    }
}

.value-prop-cards-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    gap: 40px;
    max-width: 1110px;
    margin: 0 auto 50px;
}

.value-prop-card {
    flex: 1;
    padding: 0 20px 20px 20px;
    background-color: #fff;
    border-radius: 20px;
}
.value-prop-card img {
margin-top: 20px !important;	
}

.value-prop-card:hover  {
	transition-duration: 500ms;
  box-shadow: 0 0 20px 5px #4978bb;
		
}



div.value-prop-card #years-industry-expertise{
    width: 88px;
}

div.value-prop-card #owner-stop-training-partner{
     width: 100px;
}

div.value-prop-card #outstanding-customer-service{
    width: 208px;
    margin: 5px 0px 10px 0px;
}

.icon-text {
    font-weight: bold;
    font-size: 23px;
    margin-bottom: 10px;
    line-height: 1.1;
    color: #152339;
}

div.value-prop-card .years-industry-expertise{
    color: #12aeb5;
}

div.value-prop-card .owner-stop-training-partner{
    color: #7b3b76;
}

div.value-prop-card .outstanding-customer-service{
    color: #5eb946;
}

.value-prop-section > a {
    background-color: #4978bb;
    border: 1px solid #4978bb;
    color: #fff;
}

.value-prop-card p:last-child {
    font-size: 16px;
}

/* --- 5. TRUSTED BRANDS & TESTIMONIALS (Simplified Layout) --- */

.trusted-brands-section {
    padding: 0px 30px 0 30px;
    text-align: center;
    box-shadow: 0 -4px 8px -8px rgba(0, 0, 0, 0.3);
    margin-bottom: 50px;
}

.trusted-brands-section > h2 {
    color: #4c78b9;
    font-size: 55px;
    padding: 35px 0px 10px 0px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
    .trusted-brands-section > h2 {
        font-size: 8vw; 
        padding: 20px 0px 10px 0px; 
        line-height: 1;
    }
}

.subtitle {
    color: #152339;
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: bold;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.logo-carousel {    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    /* max-width: 1050px; */
    margin: 0; 
    padding: 0 10px;
    /* margin: 0 auto; */
    background-color: #fff;
    border-radius: 30px !important;
}

.logo-carousel-placeholder {
    /* max-width: 1000px; */
    max-width: 100%;
}

.logo-carousel-placeholder .slick-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto; 
}

.slick-dotted.slick-slider {
    margin: 30px;
}

.logo-carousel-placeholder img {
    max-width: 200px; 
    height: auto;
    display: block;
    margin: 0 auto;
    margin-left: 12px;
}

@media (max-width: 767px) {
    .slick-prev, .slick-next {
        display: none !important;
    }

    .slick-dots{
        display: none !important;
    }

    .logo-carousel-placeholder img {
        max-width: 100%;
    }
}



.testimonials-section {
    padding: 0px 30px 0 30px;
    text-align: center;
    box-shadow: 0 -4px 8px -8px rgba(0, 0, 0, 0.3);
}

.testimonials-section>h2{
    color: #4c78b9;
    font-size: 55px;
}

@media (max-width: 767px) {
    .testimonials-section>h2{
        font-size: 8vw; 
        padding: 20px 0px 10px 0px; 
        line-height: 1;
    }
}
.testimonial-carousel {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 80%;/*var(--max-width);*/
    margin: 30px auto;
}

.testimonial-card {
    flex: 1;
    width: 400px;
    /* height: 250px; */
    padding: 20px;
    background-color: #fffafa;
    position: relative;
    box-sizing: border-box;
    border-radius: 30px 30px 30px 30px; 
    margin: 15px;
}
.testimonial-card.slick-center {
    transform: scale(1.0); 
    opacity: 1;
    background-color: #fffafa;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.15);
    z-index: 10; 
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 6px solid #7a3a76;
    position: absolute;
    left: -10px;
    top: -10px;
    background-color: #fff;
}

.author-info div.text {
    margin-left: 65px;
}

.author-info .stars {
    color: gold;
    font-size: 1.1rem;
}

.author-info .name {
    font-weight: 600;
    font-size: 0.9rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--color-dark-text);
}

.carousel-controls {
    margin-top: 20px;
}

.arrow {
    border: none;
    width: 45px; 
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    background-size: contain; 
    background-position: center; 
    background-repeat: no-repeat; 
    font-size: 0; 
    line-height: 0;
}

.prev-arrow {
    background-image: url('assets/prev.png');
}

.next-arrow {
    background-image: url('assets/next.png');
}

.arrow:hover {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
}


.testimonials-section>a {
    background-color: #4978bb;
    border: none;
    color: #fff;
    margin-bottom: 50px;
}
.btn-bottom {
    margin-top: 40px;
}
.footer-section {  
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 8px -8px rgba(0, 0, 0, 0.3);
    padding: 1px;
    padding: 10px 20px;
}

.footer-section::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('assets/footer-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6; 
}

.contact-footer-section {
    background-color: #4978bb;
    color: var(--color-white);
    padding: 60px 20px 20px;
    /* max-width: 1600px; */
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    margin-bottom: 100px;
    border-radius: 15px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 40px;
}

.contact-form-container h3 {
    margin-bottom: 20px;
    font-size: 26px;
    color: var(--color-white);
    font-weight: bold;
}

form.contact-form>div.row{
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    gap: 10px;
}

.contact-form .row .field-group {
    flex: 1; 
    -webkit-box-flex: 1;
    -webkit-flex: 1;
}

@media (max-width: 767px) {
    form.contact-form>div.row{
        display: block;
        gap: 0;
    }

    .contact-form .row .field-group {
        flex: none; 
    }

    .contact-grid {
        display: block;
    }

    .contact-footer-section {
        padding: 15px 20px 20px;
        margin-top: 20px;
    }

    .footer-section {
        padding: 20px;
    }
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

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

.btn-submit {
    background-color:#152339;
    color: var(--color-white);
    border: none;
    padding: 24px 60px;
    width: auto;
    cursor: pointer;
}

.contact-details h3 {
    font-size: 50px;
    color: var(--color-white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 767px) {
   .contact-info-grid{
    display: block;
   }
}

.info-item {
    display: flex;
    gap: 5px;
}

.info-item .icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.info-item .icon > img {
    width: 41px;
}

.info-item a {
    color: var(--color-white);
    text-decoration: none;
}

.info-item p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.8;
}

.info-item .detail {
    font-weight: 600;
    font-size: 1rem;
    opacity: 1;
}

.company-logos img.ttg-logo-white{
    width: 373px;
}
.company-logos div.logo-arrows{
    display: flex;
    gap: 35px;
}

.company-logos div.logo-arrows > a > img{
    width: 90px;
}

@media (max-width: 767px) {
    .company-logos img.ttg-logo-white{
        width: 28vh;
    }

    .company-logos div.logo-arrows > img{
        width: 5vh;
    }
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom img {
    height: 40px;
    opacity: 0.9;
}

.state-logos img {
    height: 30px;
    margin-left: 15px;
}
.search-container {
  position: relative; 
  width: 450px; 
  display:  none; /*inline-block; Hide at the moment.*/
}

.search-input {
    width: 100%;
    padding: 20px 40px 20px 15px;
    border: var(--color-secondary);
    border-radius: 31px;
    font-size: 20px;
    box-sizing: border-box; 
    outline: none;
    background-color: var(--color-secondary);
    color: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 767px) {  
    .search-container {
        width: 100%; 
        display: none; /*block; Hide at the moment.*/
        padding: 0px; 
        box-sizing: border-box;
    }
    
    .search-input {
        padding: 12px 30px 12px 10px;
        font-size: 16px;
        border-radius: 20px;
    }
}

.search-icon {
  position: absolute;
  right: 15px; 
  top: 50%;
  transform: translateY(-50%);
  
  color: #fff; 
  font-size: 18px; 
  pointer-events: none; 
}

.search-input:focus + .search-icon {
  color: #fff;
}

.search-input::placeholder { 
  color: #fff;
  opacity: 1;
}

.search-input::-webkit-input-placeholder {
  color: #fff;
}

/* For Firefox (older versions) */
.search-input:-moz-placeholder {
  color: #fff;
  opacity: 1;
}

.btn {
	font-weight: bold !important;
    border-radius: 50px !important;	
}

.bottom-footer {
	background: #4978bb;
	color: #fff;
	font-size: 11px !important;
	text-align: center;
	padding: 20px;	
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .brand-cards-container {
        grid-template-columns: 1fr;
    }

    .secondary-brands-logos {
        gap: 20px;
        flex-wrap: wrap;
    }

    .value-prop-cards-container {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}


#hand-images {
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 2s ease;
}

#hand-images.show {
    opacity: 1;
}

.slick-prev {
	left: -35px !important;	
}

.slick-next {
	right: -35px !important;	
}