@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --font-family: "Poppins", sans-serif;
    --primary-color: #2c507a;
    --secondary-color: #1079a9;
    --text-color: #7A7A7A;
    --text-dark: #1b0a0a;
    --white-color: #fff;
    --active-color: #caae5b;
    --bg-color: rgb(246, 247, 251);
    --heading-text-color: #1079a9;
    --transition: all 0.3s ease-in-out;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --radius: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
}

body p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
@media screen and (min-width: 768px) {
  body {
    font-size: 1rem;
  }
}


ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img:not(.nav-logo) {
    display: block;
    width: 100%;
}

h1, h2, h3, h4 {
    text-transform: capitalize;
    color: var(--heading-text-color);
    line-height: 1.5rem;
    margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}

@media screen and (min-width: 800px) {
  h1,
  h2,
  h3,
  h4 {
    line-height: 1.25rem;
  }
}

.section-center {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section-center {
    padding: 5rem 0;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  text-transform: uppercase;
}

.section-center {
    padding: 2rem 1rem;
}

@media screen and (min-width: 768px) {
    .section-center {
        padding: 2rem 5rem;
    }
}

@media screen and (min-width: 1200px) {
    .section-center {
        padding: 2rem 10rem;
    }
}

.btn {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  min-height: 44px;
  font-size: 1rem;
  text-transform: uppercase;
  display: inline-block;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background: var(--secondary-color);
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* ================================================ TOP BAR ========================================== */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  height: 50px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.top-bar .phone span {
  color: var(--active-color);
  font-size: 1.2rem;
}

.top-bar .socials {
  display: flex;
  gap: .75rem;
  font-size: 1.2rem;
  color: var(--active-color);
}

/* ================================================ NAV ============================================== */

.navbar {
  width: 100%;
  background: var(--white-color);
  box-shadow: var(--box-shadow);
  padding-top: 0;
  padding-bottom: 0;
}

.nav-center {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}
.nav-logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

#menu-main-menu li a {
  display: block;
  padding: 0.65rem;
  text-transform: capitalize;
  transition: var(--transition);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 1rem;
}

#menu-main-menu .current-menu-item > a {
    color: var(--active-color);
}

#menu-main-menu li a:hover {
  color: var(--secondary-color);
  padding-left: 0.2rem;
}

.live-training-btn {
  border: none;
  background: var(--primary-color);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-left: 0.95rem;
}

.live-training-btn a {
  color: var(--white-color);
  font-size: 1rem;
}

.nav-links {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.show-links {
  height: 280px;
}

@media screen and (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    flex-wrap: wrap;
  }

  .nav-links ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}
/* ================================================ HERO ============================================= */

.hero {
    min-height: 100vh;
    background: url("../images/hero-bg_25.jpg") center/cover no-repeat;
    position: relative;
}

.hero-banner {
    background: var(--primary-color);
    color: var(--white-color);
    position: absolute;
    padding: 2rem 1.5rem;
    top: 30%;
    width: 70%;
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}

@media screen and (min-width: 768px) {
  .hero-banner {
    width: 60%;
    left: 10%;
  }
}

.hero-banner h1 {
    line-height: 1.2;
    color: var(--white-color);
}

.hero-btn {
    background: var(--white-color);
    color: var(--text-dark);
}

.hero-btn:hover {
    transform: scale(1.1);
}

/* ========================================= ABOUT ================================= */

.about {
  margin: 5rem auto;
}

.who-we-are {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.about-imgs {
  position: relative;
  margin-bottom: 4rem;
}

.about-img-education {
  position: absolute;
  width: 190px;
  height: 190px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.about-img-education img {
  width: 100%;
  height: 100%;
}

.about-img-health {
  position: absolute;
  width: 190px;
  height: 190px;
  top: 60%;
  right: 0;
}

.about-img-health img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.about-img-social-care {
  position: absolute;
  width: 190px;
  height: 190px;
  top: 60%;
  left: 0;
}

.about-img-social-care img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

@media screen and (min-width: 500px) {
  .about-img-social-care,
  .about-img-health,
  .about-img-education {
    width: 280px;
    height: 280px;
  }

  .about-text {
    margin-top: 2.7rem;
  }
}

@media screen and (min-width: 920px) {
  .who-we-are {
    flex-direction: row;
  }

  .about-imgs,
  .about-text  {
    flex: 0 0 calc(50% - 2rem);
  }

  .about-img-social-care,
  .about-img-health,
  .about-img-education {
    width: 240px;
    height: 240px;
  }

}

/* ======================================= WHY US =========================================== */

.why-us {
  background: var(--secondary-color);
  color: var(--white-color);
}

.why-us h2 {
  color: var(--white-color);
}

.why-first-company {
  text-align: center;
}

.our-core-values {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.core-values-item {
  background: var(--white-color);
  padding: 1rem;
  color: var(--text-color);
  box-shadow: var(--box-shadow);
  text-align: center;
  border-radius: var(--radius);
}

.our-core-values .icon {
  font-size: 2.5rem;
  color: var(--active-color);
}

.underline {
  width: 50px;
  height: 4px;
  background: var(--active-color);
  margin: 0.5rem auto;
}

@media screen and (min-width: 600px) {
  .our-core-values {
    flex-direction: row;
  }

  .core-values-item {
    flex: 0 0 calc(50% - 1.5rem);
  }
}

@media screen and (min-width: 992px) {
  .core-values-item {
    flex: 0 0 calc(33.33% - 1.5rem);
  }
}


/* ================================================= FOOTER ============================================== */

footer {
  background: #32373a;
}

.footer-logo,
.accreditations {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo img{
  width: 80px;
  height: 80px;
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
footer a {
  color: var(--text-color);
  display: inline-block;
  padding: 0.27rem 0;
}

footer h3 {
  color: var(--white-color);
  margin-top: 2rem;
}
.accredited-img,
.member-off {
  width: 200px !important;
  height: 50px;
  object-fit: cover;
}


.footer-item.contact span {
  font-weight: bold;
  font-size: 1rem;
}

.copyright {
  text-align: center;
  background: #0a0a0a;
  padding: 1rem 0;
}
.copyright p {
  margin: 0 auto;
}

.copyright .developer {
  font-size: 0.75rem;
}

.footer-contents {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}

@media screen and (min-width: 600px) {
  .footer-contents {
    flex-direction: row;
  }

  .footer-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media screen and (min-width: 992px) {
  .footer-item {
    flex: 0 0 calc(25% - 1rem);
  }
}

/* ====================================== LIVE TRAINING =================================== */

.live-training {
  margin: 3rem auto;
}

.live-training-img {
  position: relative;
  margin: 3rem auto;
}

.live-training-image-1 {
  position: absolute;
  top: -30px;
  left: 0;
  width: 30%;
}

.live-training-image-1 img {
  border-bottom-right-radius: 5rem;
}

.live-training-text-1 {
  background: var(--primary-color);
  color: var(--white-color);
  position: absolute;
  top: 45%;
  right: 0;
  width: 70%;
  padding: 1.75rem;
  border-radius: 5px;
}

.live-training-text-1 h4, 
.live-training-text-1 h3 {
  color: var(--white-color);
  line-height: 1;
}

.live-training-text-1 p {
  display: none;
}

@media screen and (min-width: 768px) {
  .live-training-text-1 p {
    display: block;
    font-size: 0.75rem;
  }
}

.live-training-details{
  list-style-type: disc;
}

.btn.live-training-btn {
  background: var(--white-color);
  color: var(--primary-color);
  margin-top: 1rem;
  transition: var(--transition);
}

.btn.live-training-btn:hover {
  transform: scale(1.02);
}

.live-training-contents {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 992px) {
  .live-training-contents {
    flex-direction: row;
  }

  .live-training-text,
  .live-training-img {
    flex: 0 0 calc(50% - 1rem);
  }
  .live-training-text-1 p {
    display: none;
  }
}

/* ==================================== COURSES ==================================== */

.courses {
  background: var(--bg-color);
  margin: 4rem auto;
}

.courses-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.featured-courses {
    width: 100%;
    overflow: hidden;
}

.featured-courses-wrapper {
    align-items: stretch;
}

.featured-courses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 992px) {
  .featured-courses-header {
    flex-direction: row;
  }

  .courses-img,
  .courses-text {
    flex: 0 0 calc(50% - 1rem);
  }
}

.courses-img {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.courses-text {
  margin-top: 4.5rem;
}

.text-snippet {
  background: var(--primary-color);
  color: var(--white-color);
  padding: 1rem;
  border-radius: 5px;
  position: absolute;
  top: 40%;
  left: 0;
  width: 60%;
}

.text-snippet h3 {
  color: var(--white-color);
}

.featured-courses-item {
  box-shadow: var(--box-shadow);
  background: var(--white-color);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
  height: auto;
  margin-bottom: 3rem;
}

.featured-courses-item .product-rating {
  color: var(--active-color);
}

.featured-courses-item h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3em;
}

.featured-courses-item .product-img {
    height: 220px;
    margin: 1rem 0;
}

.featured-courses-item .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.5rem;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.75rem;
}

/* ======================================= TRAINING PAGE ======================================== */

.training-page-header {
  background: linear-gradient(to top, rgba(19, 24, 27, 0.6), rgba(39, 54, 68, 0.6)), url("../images/Disability-Awareness.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.training-header-img {
  width: 350px;
  height: 350px;
  border: 10px solid var(--secondary-color);
  padding: 3rem;
  border-top-left-radius: 6rem;
  border-bottom-right-radius: 6rem;
}

.training-header-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.training-header-text {
  color: var(--white-color);
  margin-top: 2rem;
}

.training-header-text h1 {
  color: var(--white-color);
  line-height: 2rem;
}

.training-header-text .small-text {
  font-size: 1.5rem;
}

.training-header-underline {
  width: 170px;
  height: 8px;
  background: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.training-page-header-ul {
  list-style-type: disc;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .training-page-header {
    flex-direction: row;
  }

  .training-header-img,
  .training-header-text {
    flex: 0 0 calc(50% - 1rem);
  }

  .training-header-img{
    width: 400px;
    height: 400px;
  }
}

.who-training-for {
  padding: 2rem 0;
}

.who-training-for-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.who-training-for-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
}

.who-training-for-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (min-width: 768px) {
  .who-training-for-contents {
    flex-direction: row;
  }

  .who-training-for-text,
  .who-training-for-img {
    flex: 0 0 calc(50% - 1rem);
  }

  .who-training-for-text h2 {
    line-height: 1.5;
  }
}

.course-contents-live-training {
  background: var(--bg-color);
  padding: 2rem 0;
}

.course-training-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.course-training-contents h2 {
  line-height: 1.5;
}
.live-training-course-contents {
  list-style: disc;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .course-training-contents {
    flex-direction: row-reverse;
  }
}

.live-training-reg-form form {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.reg-form-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.reg-form-item input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border-color: var(--secondary-color);
  border-radius: var(--radius);
}

/* ======================================= CONTACT PAGE ======================================= */

.contact-text i {
  font-size: 1.5rem;
  color: var(--active-color);
}


/* ======================================= ABOUT US PAGE ======================================== */

.about-page-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (min-width: 992px) {
  .about-page-contents {
    flex-direction: row;
  }

  .about-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

.about-page .mission-vision {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}


.mission-vision .our-mission,
.mission-vision .our-vision {
  box-shadow: var(--box-shadow);
  padding: 1.5rem 1rem;
}

@media screen and (min-width: 768px) {
  .about-page .mission-vision {
    flex-direction: row;
  }

  .mission-vision .our-mission,
  .mission-vision .our-vision {
    flex: 0 0 calc(50% - 1rem);
  }
}

.why-first-companyuk {
  background: var(--bg-color);
  padding: 2rem 0;
}

.why-first-companyuk .why-first-header {
  text-align: center;
}

.why-first-companyuk .why-first-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.why-first-companyuk .why-first-sub .why-first-left,
.why-first-companyuk .why-first-sub .why-first-right {
  background: var(--secondary-color);
  color: var(--white-color);
  padding: 2rem 1rem;
  text-align: center;
}

.why-first-companyuk .why-first-sub i {
  font-size: 2.5rem;
  color: var(--active-color);
  margin-bottom: 1rem;
}

.why-first-companyuk .why-first-sub h3 {
  color: var(--white-color);
}

@media screen and (min-width: 992px) {
  .why-first-companyuk .why-first-sub {
    flex-direction: row;
  }
  .why-first-right,
  .why-first-left {
    flex: 0 0 calc(50% - 1rem);
  }
}

.our-cover-values {
  text-align: center;
  padding: 2rem 0;
}

.our-core-values .underline {
  margin-bottom: 1.5rem;
}

.core-values-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem auto;
}

.core-values-contents .core-value-item {
  box-shadow: var(--box-shadow);
  padding: 1.5rem 1rem;
}

.core-values-contents .core-value-item i {
  font-size: 2.5rem;
  color: var(--active-color);
  margin-bottom: 1rem;
}

@media screen and (min-width: 600px) {
  .core-values-contents {
    flex-direction: row;
  }
  .core-value-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media screen and (min-width: 992px) {
  .core-value-item {
    flex: 0 0 calc(33.33% - 1rem);
  }
}

.our-services-section {
  background: var(--bg-color);
  padding: 2rem 0;
  text-align: center;
}

.our-services-contents {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}

.our-services-contents .services-item {
  box-sizing: var(--box-shadow);
  background: var(--white-color);
  padding: 1.5rem 1rem;
}

.our-services-contents .services-item i {
  font-size: 2.5rem;
  color: var(--active-color);
  display: inline-block;
  margin-bottom: 1rem;
}

@media screen and (min-width: 768px) {
  .our-services-contents {
    flex-direction: row;
  }

  .services-item {
    flex: 0 0 calc(47% - 1rem);
  }
}

/* ========================================== BLOG INDEX PAGE ===================================== */

.blogs-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-item {
  box-shadow: var(--box-shadow);
  padding: 1.5rem 1rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
}

.blog-item h2 {
  margin-top: 1rem;
}

.blog-category {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--primary-color);
  color: var(--white-color);
  margin-left: 1rem;
  font-size: 0.75rem;
  padding: 0.25rem;
}

.blog-item .blog-btn {
  margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
  .blogs-container {
    flex-direction: row;
  }

  .blog-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media screen and (min-width: 992px) {
  .blog-item {
    flex: 0 0 calc(33.33% - 1rem);
  }
}

/* ===================================== SINGLE PAGE ================================================= */

.page-item ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-item h1, .page-item h2, .page-item h3 {
  margin: 2.5rem 0 1.5rem 0;
}

/* ===================================== WOOCOMMERCE MODIFICATIONS =================================== */

.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
  background: var(--secondary-color);
  color: var(--white-color);
}

.single_add_to_cart_button.button.alt {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.wc-block-components-checkout-place-order-button--full-width.contained {
  background: var(--primary-color) !important;
  color: var(--white-color) !important; 
}

.onsale {
  background: var(--active-color) !important;
  color: var(--white-color) !important;
}

#submit {
  background: var(--primary-color) !important;
  color: var(--white-color) !important;
}