
/* -------------------------------
   Font Faces: Local Hosting Setup
--------------------------------- */

/* Avenir Next (Avenir Pro) */
@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextLTPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextLTPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextLTPro-It.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

/* Libre Baskerville */
@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Baskerville';
    src: url('../fonts/LibreBaskerville-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

/* Nunito Sans */
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/Nunito-Sans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/Nunito-Sans-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/Nunito-Sans-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/Nunito-Sans-500italic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
}

/* ----------------------------------------------------------
   Typography Variables and Base / Colour Palette Variables
------------------------------------------------------------- */

:root {
    --font-primary: 'Avenir Next', 'Libre Baskerville', 'Nunito Sans', sans-serif;
    /*--font-h1: 72pt;
    --font-h2: 52pt;
    --font-h3: 36pt;
    --font-h4: 24pt;
    --font-body: 18pt;
    --line-height: 1.5;*/
    --text-color: #222;
    --heading-color: #111;
    --background-color: #fff;
    /* Core Brand Colours */
    --color-primary: #00b140; /* Green */
    --color-primary-dark: #007e2f;
    --color-secondary: #3B3C42; /* Off Black */
    --color-tertiary: #6F6F6F; /* Grey */
    /* Background Colours */
    --bg-primary: #00b140; /* Main Green Background */
    --bg-light: #E5F7EB; /* Light Green Background */
    --bg-white: #FFFFFF; /* Secondary / Standard White */
    --bg-grey: #F8F8F8; /* NPTC Chosen colour */
    /* Text Colours */
    --text-primary: #6F6F6F; /* Grey Body Text */
    --text-secondary: #FFFFFF; /* White Text */
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-body);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
}

/* -------------------------------
   Heading Styles
--------------------------------- */

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    color: var(--heading-color);
    line-height: 1.2;
}

h1 {
    font-size: var(--font-h1);
}

h2 {
    font-size: var(--font-h2);
}

h3 {
    font-size: var(--font-h3);
}

h4 {
    font-size: var(--font-h4);
}

/* -------------------------------
   Additional Text Styles
--------------------------------- */

p {
    font-family: var(--font-primary);
}

strong {
    font-weight: bold;
}

/* Optional: Use secondary font for blockquotes or sections */
blockquote {
    font-style: italic;
    font-size: 1.2em;
    margin: 1em 0;
    padding-left: 1em;
    border-left: 4px solid #ccc;
}

/* -------------------------------
   Global Text & Background Colours
--------------------------------- */

/* Utility Classes for Colours */
.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-tertiary {
    background-color: var(--color-tertiary) !important;
}

.bg-light-green {
    background-color: var(--bg-light) !important;
}

.bg-white {
    background-color: var(--bg-white) !important;
}

.bg-grey {
    background-color: var(--bg-grey) !important;
}

.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-color {
    color: var(--color-primary) !important;
}

.experience-heading {
    margin-bottom: 1rem !important;
}

/* Apply to static cards inside the card-section */
.card-section .card {
    transition: all 0.3s ease; /* smooth animation */
}
    .card-section .card:hover {
        transform: translateY(-6px); /* slight lift */
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important; /* stronger shadow */
    }

.card-link {
    color: var(--color-primary-dark);
    font-weight: 600;
    text-decoration: none;
}
    .card-link:hover {
        color: var(--color-primary);
        text-decoration: underline;
    }

.card-link-primary {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}
    .card-link-primary:hover {
        color: var(--color-primary-dark);
        text-decoration: underline;
    }

.education-img-special {
    width: 37% !important;
}

.btn-success {
    background-color: var(--color-primary);
    border: none;
    color: white;
    font-weight: bold;
}
    .btn-success:hover {
        background-color: var(--color-primary-dark);
    }

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    overflow-x: auto !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%; /* Ensure it takes the full width of the wrapper */
    margin: 0 auto;
}
    .carousel-container::-webkit-scrollbar {
        display: none;
    }

.carousel-controls {
    width: 85.25%;
    margin-bottom: 10px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border: none;
    z-index: 2;
}
    .carousel-btn[disabled] {
        background: var(--color-secondary);
        opacity: 0.5;
        pointer-events: none;
    }
    /*carousel-btn:hover {
        background-color: var(--color-primary);
    }*/

.card-group {
    display: flex;
    flex-wrap: nowrap !important; /* Prevent cards from wrapping */
    gap: 10px;
    align-items: stretch; /* Ensure cards stretch to the same height */
}
    .card-group .card {
        height: auto !important; 
    }

.industry-card {
    flex: 0 0 232px !important;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: 400px; /* Fixed height */
    display: flex;
    flex-direction: column;
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    z-index: 2;
    position: relative;
    padding: 20px;
    text-align: left;
    flex: 1; /* Ensure the body takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden; /* Prevent content from overflowing */
}

.card-body h5 {
    margin-bottom: 10px;
}

.card-body p {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-image {
    width: 100% !important;
}

.case-title {
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 500;
    color: #000;
    line-height: 1.2;
}

#caseDesc {
    font-size: 1rem;
    /*color: #666;*/
    height: 155px;
}

.dots .dot {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    color: #000;
    background: transparent;
    cursor: pointer;
    margin-right: 8px;
    transition: all 0.2s ease-in-out;
}
    .dots .dot.active {
        background-color: #00b13f;
        color: white;
    }

/* Single Page */
.single-page-section {
    background-color: #dcfcca;
}
    .single-page-section .container {
        width: 78%;
        margin: 0 auto;
        padding: 60px 15px;
    }

.single-page-heading {
    margin-bottom: 0rem !important;
    background-color: #fff;
}

.custom-section-width {
    max-width: 1000px;
    margin: auto;
    padding-top: 50px;
    padding-bottom:50px;
}

.fw-100 {
    font-weight: 100;
}

.h2-width {
    width: 95%;
    padding-top: 20px;
    text-align: center;
}

.browser-edge-protect {
    margin-left: 5px;
    margin-right: 5px;
}

.carousel-card-button-font {
    font-size: 1.0rem;
}

.newsArticleImageHolder {    
    float: right;
    width: 40%;
    height: auto;
    max-width: 300px;
}

.find-out-more-white {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}
    .find-out-more-white:hover {
        color: #dcfcca;
        text-decoration: underline;
    }

.qualification-search-container {    
    height: 75px;
    width: 55%;
    border-radius: 10px;
    background-color: #fff;
    margin: auto;
    color: #000;
    
    min-width: 450px;
}

.search-Control {
    width: 75%;
    padding: .375rem .75rem;
    margin-top: 19px;
    margin-left: 24px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
    
.qualification-search-container.qualification-search-icon svg {
    transform: translateY(-50%);
    color: #6c757d;
}

.qualification-search-icon {
    margin-top: 1%;
    margin-left: -9%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-btn {
    margin-top: 25px; 
    margin-right: 5%;
}

.scroll-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 95%;
    margin: 0 auto;
}

.scroll-btn {
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
}

    .scroll-btn[disabled] {
        opacity: 0.5;
        pointer-events: none;
    }

.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    margin: 0 10px;
    flex: 1;
}
    .scroll-container::-webkit-scrollbar {
        display: none;
    }

.scroll-button a {
    display: inline-block;
    margin-right: 0.5rem;
    text-decoration: none;
}

.slider-button {
    height: 3rem;
    background-color: #009f38;
    border: 1px solid #009f38;
    color: #fff;
    font-size: 0.8rem;
}

    .slider-button:hover {
        background-color: var(--color-primary-dark);
    }

.horizontal-line-green {
    height:2px;
    border-width:0;    
    background-color: var(--color-primary);
}

/*  ********** CENTRES START ************  */
.centre-details .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.centre-details .card-title {
    font-size: 1.25rem;
    color: #3B3C42;
}

.centre-details .card-text,
.centre-details p {
    color: var(--text-primary);
    font-size: 1.9rem;
}

.map-container {
    height: 472px;
    width: 99%;
    background-color: #ccc;
}

.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.rounded {
    border-radius: 0.5rem;
}

.gx-5 {
    --bs-gutter-x: 3rem;
}
/*  ********** CENTRES END ************  */


/*  ********** FOOTER START ************  */
footer {
    display: flex;
    background-color: #2c2f33;
    color: #adb5bd;
    padding: 1rem 0;
    position: relative;
}

.footer-logo {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    display: block;
    line-height: 1;
}

    .footer-logo small {
        font-size: 1rem;
        font-weight: normal;
        display: block;
        margin-top: 5px;
    }

.footer-logo-container {
    text-align: left;
    width: 99%;
}

    .footer-logo-container span {
        display: inline-block;
    }

.back-to-top {
    float: right;
    margin-top: 1rem;
    width: 40px;
    height: 40px;
    background-color: #343a40;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

    .back-to-top:hover {
        background-color: #495057;
    }

.bottom-links {
}

    .bottom-links a {
        border-right:solid; 
        padding-left:5px; 
        padding-right:5px; 
        border-width:1px;
        color: #adb5bd;
        text-decoration: none;
    }
        .bottom-links a:hover {
            color: #fff;
        }

/*  ********** FOOTER END ************  */



/*  @MEDIA QUERIES  */
@media (max-width: 959px) {
    .search-Control {
        width: 65%;
    }
}

@media (max-width: 767.98px) {
    .scroll-container-wrapper {
        display: none;
    }
    .search-Control {
        width: 59%;
    }
    .qualification-search-container {
        min-width: 320px;
    }

}

/* md breakpoint */
@media (max-width: 767px) {
}

/* sm breakpoint */
@media (max-width: 575px) {
}


