
header {
    position: absolute;
}

body {
    background: rgb(10, 10, 10);
}

/* Hero Section */

.hero {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 580px;
    padding: 40px 0 0 0;
    background-image: linear-gradient(
            to top,
            rgba(10, 10, 10, .25),
            rgba(10, 10, 10, 0.25)
        ),
        url("../images/training-landing-page.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    align-items: stretch;
}

@media (max-width: 991px) {
	.hero {
		background-attachment: scroll;
	}
}

.hero-body {
    display: flex;
    flex-flow: column wrap;
    flex: 0 0 99%;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 0 50px;
}

.hero .hero-body strong {
	font-weight: 300;
	text-transform: uppercase;
	font-size: .750rem;
	letter-spacing: 2px;
}

.hero .hero-body h1 {
	color: white;
	text-transform: uppercase;
	line-height: 1;
	margin-top: .75rem;
	margin-bottom: .5rem;
	font-size: 4.5rem;	
}

.hero .hero-body h1:after {
    content: '';  /* No need for '-' content since we're using a background gradient */
    display: none;  /* Makes the pseudo-element block-level */
    width: 200px;  /* Length of the dash (can adjust this) */
    height: 2px;  /* Thickness of the dash */
    margin: .8rem auto;  /* Centers the dash horizontally */
    
    /* Background gradient to create the fade effect */
    background: linear-gradient(to right, transparent 0%, #DAFF45 30%, #DAFF45 70%, transparent 100%);
}


.hero .hero-body p {
	margin-bottom: 20px;
	color: #f5f5f5;
	line-height: 1.65;
	font-family: "Reakt";
	font-weight: 300;
	overflow-wrap: break-word;
	font-size: 1.5rem;
	text-align: left;
}

.hero .hero-body .hero-btn a,
.hero .hero-body .hero-btn button {
	background: transparent;
	border: 1px solid #DAFF45;
	background: #00E6FF;
    padding: 8px 36px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0px;
    border-radius: 20px;
    line-height: 1;
	color: #DAFF45;
	color: black;
	font-family: 'Reakt';
	font-weight: 700;
	
	display: none;
}
.hero .hero-body .hero-btn a:hover,
.hero .hero-body .hero-btn button:hover {
    color: black;
	background: #DAFF45;
    cursor: pointer;
}

/* Container for centering the button */
.hero-button {
	display: inline-block;
	margin: 0px;  /* Add some space around the button */
}

/* Button Styling */
.hero-button a {
	display: inline-block;
	padding: 6px 35px;
	background: linear-gradient(45deg, #DAFF45, #DAFF45);  /* Gradient background */
	color: black;  /* Dark text color */
	font-size: .750rem;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 30px;  /* Rounded corners */
	position: relative;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Soft shadow for depth */
	transition: all 0.3s ease;  /* Smooth transition for hover effects */
}

/* Hover effect: subtle background shift and scaling */
.hero-button a:hover {
	background: linear-gradient(45deg, #DAFF45, #DAFF45);  /* Inverted gradient */
}

/* Focus state: Light focus ring for accessibility */
.hero-button a:focus {
	outline: none;
}

/* CTA Section */

.cta {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 680px;
    padding: 40px 0 0 0;
    background-image: linear-gradient(
            to bottom,
            rgba(10, 10, 10, 1),
            rgba(10, 10, 10, 0.75),
			rgba(10, 10, 10, 1)
        ),
        url("../images/graham-mansfield-2j6IzAIbifQ-unsplash.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    align-items: stretch;
}

.cta {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 680px;
    padding: 40px 0 0 0;
    background-image: linear-gradient(
            to bottom,
            rgba(10, 10, 10, 1),
            rgba(10, 10, 10, 1),
			rgba(10, 10, 10, 1)
        ),
        url("../images/graham-mansfield-2j6IzAIbifQ-unsplash.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    align-items: stretch;
}

.cta-body {
    display: flex;
    flex-flow: column wrap;
    flex: 0 0 99%;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 0 50px;
	margin-bottom: 20px;
}

.cta .cta-body h1 {
    letter-spacing: 0px;
    color: white;
    text-transform: uppercase;
	line-height: 1;
}

.cta .cta-body p {
    color: #f5f5f5;
	margin-bottom: 20px;
}

.cta .cta-body .cta-btn a,
.cta .cta-body .cta-btn button {
    background: #DAFF45;
	border: 1px solid #DAFF45;
    color: black;
    padding: 8px 36px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0px;
    border-radius: 20px;
    line-height: 1;
	font-family: 'Reakt';
	font-weight: 700;
}
.cta .cta-body .cta-btn a:hover,
.cta .cta-body .cta-btn button:hover {
    color: black;
	background: #DAFF45;
    cursor: pointer;
}

/* Figures with images */

figure.training {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    min-height: 420px;
    margin: 0 auto;
    background: transparent;
    margin-bottom: 5px;
    border-radius: 4px;
    width: 100%;
    padding: 0 5%;
    border: 0px solid #777;
	max-width: 1200px;
	border-top: 2px solid #121212;
}

figure.training figcaption {
    display: flex;
    flex-flow: column nowrap;
    flex: 1 1 30%;
    padding: 50px 2.5% 50px 2.5%;
    align-content: center;
    justify-content: center;
}

figure.training figcaption h2 {
    font-family: "Schabo";
    font-weight: normal;
    font-size: 1.35rem;
    padding: 0 0 0 0;
    color: white;
    line-height: 1.25;
	margin-bottom: 0px;
	text-transform: uppercase;
	letter-spacing: 0px;
}

figure.training figcaption h3 {
    font-family: "Roboto Mono";
    font-weight: 500;
    font-size: 0.750rem;
    padding: 0 0 0 0;
    color: #DAFF45;
    line-height: 1.5;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0px;
	& span {
		color: #DAFF45;
	}
}

figure.training figcaption p {
	color: #ddd;
	margin-bottom: 1rem;
	font-size: .95rem;
}

figure.training picture {
    display: flex;
	position: relative;
    flex-flow: column nowrap;
    padding: 50px 2.5% 50px 7.5%;
    flex: 0 0 auto;
}


figure.training picture::after {
    content: '';
    display: block;
    position: absolute;
    width: 140px; /* Width of the slanted line */
    height: 350px; /* Adjust height as needed */
    background: transparent; /* Color of the slanted line */
	border: 2px solid #DAFF45;
    top: 50%; /* Vertically center the element */
    left: 50%; /* Horizontally center the element */
    transform: translate(-50%, -50%) rotate(30deg) skewY(-30deg); /* Center and rotate by 30 degrees */
    transform-origin: center; /* Ensure the transform happens from the center */
    z-index: -1;
}

figure.training picture img {

    width: 400px;
    height: auto;
    border: 0;
    border: none;
    border-radius: 00%;
    margin: auto;
    /*box-shadow: rgba(8, 8, 8, 0.25) 0px 2px 5px -1px,
        rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;*/
    outline: 0px solid rgba(18, 18, 18, 1);
    object-fit: contain;
}

figure.training:nth-of-type(1) picture img {
	filter: grayscale(10%);
	-webkit-filter: grayscale(10%);	
}

figure.training:nth-of-type(2) picture img {
	filter: grayscale(30%);
	-webkit-filter: grayscale(30%);	
}

figure.training:nth-of-type(3) picture img {
	filter: grayscale(10%);
	-webkit-filter: grayscale(10%);	
}

figure.training:nth-of-type(4) picture img {
	filter: grayscale(50%);
	-webkit-filter: grayscale(50%);	
}

figure.training:nth-of-type(5) picture img {
	filter: grayscale(20%);
	-webkit-filter: grayscale(20%);	
}

@media (max-width: 576px) {
    figure.training {
        flex-flow: column wrap;
		padding: 0 10%;
    }
    figure.training figcaption h2 {
        text-align: left;
    }
    figure.training figcaption h3 {
        text-align: left;
    }
    figure.training figcaption p {
        text-align: left;
    }
    figure.training a {
        margin: 20px auto 0 auto;
    }
	figure.training picture {
		padding: 50px 5% 40px 5%;		
	}
    figure.training picture img {
        width: auto;
        min-width: auto;
        height: 550px;
    }
}
/* Animations */
	.fade-on-scroll {
		opacity: 0;
	}
	@keyframes fadeInUp {
	from {
		transform: translateY(50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
	}
	.fade-in-up {
		animation: 0.75s both fadeInUp;
	} 	

@media (max-width: 576px) {
    .hero {
        background-position: bottom;
    }	
}



