/* Reset & base styles */
body { /*, h1*/
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Roboto;
    box-sizing: border-box;
}

p, label, h3, h4. h5 {
    color: black;
}

h3, h4, h5 {
    text-align: left;
    font-weight: bold;
}

li {
    color: black;
}

.centered-image {
    display: block;
    margin: 0 auto; /* This will center the image horizontally */
    width: 90%; /* or whatever you need */
}

.Vert_Hori_Middle {
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    /*height: 200px; *//* Set a specific height for the container */
}

/*NEW=========================================*/
.alignleft p, li {
    text-align: left;
}
.styled-hr {
    border: none; /* Remove default 3D border */
    height: 4px; /* Set thickness */
    background-color: black; /* Set color */
    width: 100%; /* Optional: set width */
    margin: 20px 0; /* Optional: spacing */
}

/* Hamburger icon START*/
/* Base menu styling */
.links-container {
    background-color: black;
    padding: 10px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    gap: 25px;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 1000;
    transition: max-height 0.3s ease-in-out, visibility 0.3s;
}

.my-link {
    color: white;
    text-decoration: none;
}

.Heading {
    font-weight: bold;
}

/* === HAMBURGER ICON === */
.menu-icon {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    right: 20px;
    z-index: 1100;
    background: black;
}

/* Hide the checkbox input */
.menu-toggle {
    display: none;
}
/* Hamburger icon END*/

.logo-container {
    display: grid;
    grid-auto-flow: column;
    justify-content: start; /*Aligns items to the left */
}


.hero-section {
    position: relative;
    height: 100vh;
    background: url('https://ztq.co.za/resources/newsplashsmaller.jpg') no-repeat center center;
    background-size: cover; /*This makes the image fill the section */
    display: flex;
    align-items: flex-start;
    justify-content: left;
    color: white;
}

/*Courses page START*/
/* === LEFT COLUMN === */
.two-column-section {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: 17vh;

    border: none;
    text-align: left;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(90deg, white 0, rgba(255,169,22,1) 100%);
    background: -moz-linear-gradient(90deg, white 0, rgba(255,169,22,1) 100%);
    background: linear-gradient(90deg, white 0, rgba(255,169,22,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

/* LEFT COLUMN */
.left-column {
    width: 50%;
    padding: 20px 40px;
    color: black;
}

    .left-column h1 {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin: 0 0 40px 0;
    }

.toc-button {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: clamp(0.5em, 2.5vw, 1em);
    font-size: clamp(.5rem, 1.5vw, 1.00rem);
    text-align: center;
    background-color: #FF9900;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

    .toc-button:hover {
        background-color: #D3F491; /*#b8dd60;*/
    }

/* RIGHT COLUMN */
.right-column {
    width: 50%;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    background: url('https://ztq.co.za/resources/groupoffives.jpg') no-repeat center top;
    background-size: cover;
}

/*Courses Page END END*/

    /* Dark overlay */
    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1300px;
    width: 800px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 30px;
        line-height: 1.6;
        color: white;
    }

.cta-button {
    background-color: #FF9900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;

    padding: clamp(0.2em, 1vw, 0.4em) clamp(0.5em, 2vw, 1em); /* smaller padding */
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* smaller text */
}

    .cta-button:hover {
        background-color: #D3F491;
    }

.courses-container {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space between buttons */
    align-items: flex-start; /* or center, depending on your layout */
}

.courses-button {
    display: block; /* forces vertical stacking */
    background-color: #FF9900;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

    .courses-button:hover {
        background-color: #D3F491;
    }

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/*END NEW=========================================
*/


/*@media screen and (min-width: 577px) and (max-width: 768px) {*/
@media screen and (max-width: 768px) {
    .Text, p, li, label {
        font-size: 1.9vw;
        text-align: justify;
    }

    .menu-icon {
        display: block;
    }

    .links-container {
        display: none;
        flex-direction: column;
        background-color: black;
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        padding: 15px;
        gap: 15px;
    }

    .menu-toggle:checked + .menu-icon + .links-container {
        display: flex;
    }

    .my-link {
        padding: 10px;
        border-bottom: 1px solid #444;
    }

    .left-column, .right-column {
        width: 100%;
        height: 300px; /* or auto, or whatever works for your layout */
    }
}


.gradientOpportunitiesJobs {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 20px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(90deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: -moz-linear-gradient(90deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: linear-gradient(90deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.gradientOpportunitiesLearners {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 20px;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(-180deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: -moz-linear-gradient(270deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: linear-gradient(270deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.contactsgradient {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(-180deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: -moz-linear-gradient(180deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background: linear-gradient(180deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
    -webkit-box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

.myIndent {
    text-indent: 20px;
}

/* Animation property */
.wiggle {
    animation: wiggle 2s linear infinite;
}

/* Keyframes */
@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }

    15% {
        transform: rotateZ(-15deg);
    }

    20% {
        transform: rotateZ(10deg);
    }

    25% {
        transform: rotateZ(-10deg);
    }

    30% {
        transform: rotateZ(6deg);
    }

    35% {
        transform: rotateZ(-4deg);
    }

    40%, 100% {
        transform: rotateZ(0);
    }
}

.bannerGradient {
    background-image: -webkit-linear-gradient(0deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-image: -moz-linear-gradient(90deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-image: linear-gradient(90deg, rgba(210,244,146,1) 0, rgba(254,153,10,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

.devmethod_bg {
    border: none;
    text-align: justify;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(-180deg, white 0, rgba(211,244,145,1) 100%);
    background: -moz-linear-gradient(270deg, white 0, rgba(211,244,145,1) 100%);
    background: linear-gradient(270deg, white 0, rgba(211,244,145,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

.supporttech_bg {
    border: none;
    text-align: justify;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(90deg, white 0, rgba(239,213,92,1) 100%);
    background: -moz-linear-gradient(90deg, white 0, rgba(239,213,92,1) 100%);
    background: linear-gradient(90deg, white 0, rgba(239,213,92,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

.roleplayers_bg {
    border: none;
    text-align: justify;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    background: -webkit-linear-gradient(-180deg, white 0, rgba(255,169,22,1) 100%);
    background: -moz-linear-gradient(270deg, white 0, rgba(255,169,22,1) 100%);
    background: linear-gradient(270deg, white 0, rgba(255,169,22,1) 100%);
    background-position: 50% 50%;
    -webkit-background-origin: padding-box;
    background-origin: padding-box;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-background-size: auto auto;
    background-size: auto auto;
}

/* Fix both top elements */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 1000;
}

.logo-bar {
    position: relative;
    top: 50px; /* placed just below the top-bar */
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 999;
}

/* Make room so main content isn't hidden behind the fixed bars */
.main-content {
    margin-top: 17vh; /* 130px; height of top-bar + logo-bar */
    padding: 20px;
}

/*Responsive text sizes*/
h1 {
    font-size: clamp(1.5rem, 6vw, 3rem); /* scales between 1.5rem and 3rem */
}

h3 {
    font-size: clamp(1.2rem, 4vw, 2rem);
}

h4 {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

h5 {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
}

/*Resonsive buttons*/
.responsive-button {
    background-color: #D2F492;
    border: solid 2px brown;
    color: black;
    padding: clamp(0.2em, 1vw, 0.4em) clamp(0.5em, 2vw, 1em); /* smaller padding */
    font-size: clamp(0.7rem, 2vw, 0.9rem); /* smaller text */
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .responsive-button:hover {
        background-color: #c0e675;
        transform: scale(1.02);
    }





