/*
@Author: ThemeMascot
@URL: http://ThemeMascot.com

This is the file where you can add your custom styles to change the look of the
theme. But don't modify style-main.css file.

*/

/* Your custom css codes start here: */

/* =========================================
   BY FOCUS - PREMIUM TRAINING COURSES
========================================= */

#courses.byfocus-courses {
  padding: 90px 0;
  background: #f5f6f8;
  overflow: hidden;
}

/* Section Heading */
#courses .section-title {
  text-align: center;
  margin-bottom: 48px;
}

#courses .courses-subtitle {
  display: inline-block;
  color: #bd9857;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

#courses .section-title .title {
  color: #14263d;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

#courses .section-title .text-theme-colored2 {
  color: #bd9857;
}

#courses .section-title h5 {
  color: #758092;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Course Card */
#courses .course-single-item {
  height: 100%;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 13px;
  overflow: hidden;
  margin: 10px 8px 28px;
  box-shadow: 0 8px 28px rgba(20, 38, 61, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#courses .course-single-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(20, 38, 61, 0.15);
}

/* Equal Image Dimensions */
#courses .course-thumb {
  position: relative;
  width: 100%;
  height: 235px;
  min-height: 235px;
  overflow: hidden;
  background: #e8ebef;
}

#courses .course-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

#courses .course-single-item:hover .course-thumb img {
  transform: scale(1.07);
}

/* Image Overlay */
#courses .course-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 29, 49, 0.58),
    rgba(12, 29, 49, 0.02) 75%
  );
  pointer-events: none;
}

/* Image Category Label */
#courses .course-category {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 17px;
  padding: 7px 13px;
  color: #fff;
  background: rgba(189, 152, 87, 0.95);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Hide Previous Meta Elements */
#courses .course-top-meta,
#courses .author-thumb,
#courses .course-meta {
  display: none !important;
}

/* Card Content */
#courses .course-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px 23px 23px;
}

#courses .course-number {
  display: block;
  margin-bottom: 12px;
  color: #bd9857;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

#courses .course-top-part h4,
#courses .course-details h4 {
  min-height: 58px;
  margin: 0 0 13px;
  color: #14263d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

#courses .course-details h4 a {
  color: #14263d;
  text-decoration: none;
  transition: color 0.3s ease;
}

#courses .course-details h4 a:hover {
  color: #bd9857;
}

/* Description */
#courses .course-description {
  min-height: 88px;
  margin: 0 0 20px;
  color: #718093;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
}

/* Explore Link */
#courses .course-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #edf0f3;
  color: #14263d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

#courses .course-link span {
  color: #bd9857;
  font-size: 20px;
  line-height: 12px;
  transition: transform 0.3s ease;
}

#courses .course-link:hover {
  color: #bd9857;
}

#courses .course-link:hover span {
  transform: translateX(5px);
}

/* Carousel Spacing */
#courses .owl-carousel-3col .item {
  padding: 0 3px;
}

/* Responsive */
@media (max-width: 991px) {
  #courses.byfocus-courses {
    padding: 70px 0;
  }

  #courses .course-thumb {
    height: 220px;
    min-height: 220px;
  }

  #courses .course-single-item {
    min-height: 475px;
  }
}

@media (max-width: 767px) {
  #courses.byfocus-courses {
    padding: 55px 0;
  }

  #courses .section-title .title {
    font-size: 26px;
  }

  #courses .section-title h5 {
    font-size: 13px;
    line-height: 1.6;
  }

  #courses .course-thumb {
    height: 220px;
    min-height: 220px;
  }

  #courses .course-single-item {
    min-height: 0;
    margin: 8px 5px 25px;
  }

  #courses .course-details {
    padding: 22px 20px;
  }

  #courses .course-details h4 {
    min-height: auto;
    font-size: 17px;
  }

  #courses .course-description {
    min-height: auto;
  }
}



/* ==============================
   BY FOCUSE - ABOUT US SECTION
   Responsive Design
================================ */

.byf-about {
    padding: 90px 20px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
}

.byf-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

/* Image */

.byf-about-image {
    position: relative;
    min-width: 0;
}

.byf-about-image img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(16, 42, 67, 0.12);
}

.byf-image-badge {
    position: absolute;
    bottom: 25px;
    left: -20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 25px;
    background: #ffffff;
    color: #526174;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    font-size: 13px;
}

.byf-badge-number {
    color: #12345a;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Content */

.byf-about-content {
    min-width: 0;
}

.byf-subtitle {
    display: inline-block;
    margin-bottom: 18px;
    color: #bf2323;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.byf-about-content h2 {
    margin: 0 0 22px;
    color: #142c49;
    font-size: clamp(30px, 3.3vw, 44px);
    line-height: 1.2;
    font-weight: 800;
}

.byf-about-content h2 span {
    color: #bf2323;
}

.byf-about-intro {
    margin: 0 0 12px;
    color: #142c49;
    font-size: 19px;
    font-weight: 700;
}

.byf-about-text {
    margin: 0 0 16px;
    color: #667487;
    font-size: 15px;
    line-height: 1.9;
}

/* Features */

.byf-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 15px;
    margin: 25px 0 30px;
}

.byf-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #263c55;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.byf-check {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #bf2323;
    background: #e7f6f5;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
}

/* Button */

.byf-about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 24px;
    background: #12345a;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 7px;
    transition: background 0.3s ease,
                transform 0.3s ease;
}

.byf-about-btn:hover {
    background: #bf2323;
    color: #ffffff;
    transform: translateY(-2px);
}

.byf-about-btn span {
    font-size: 20px;
    line-height: 1;
}

/* Tablet */

@media (max-width: 992px) {
    .byf-about {
        padding: 70px 25px;
    }

    .byf-container {
        gap: 35px;
    }

    .byf-about-image img {
        height: 440px;
    }

    .byf-image-badge {
        left: -10px;
    }

    .byf-about-content h2 {
        font-size: 34px;
    }

    .byf-features {
        grid-template-columns: 1fr;
        gap: 13px;
    }
}

/* Mobile */

@media (max-width: 768px) {
    .byf-about {
        padding: 50px 20px;
    }

    .byf-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .byf-about-image {
        width: 100%;
    }

    .byf-about-image img {
        height: 320px;
        border-radius: 14px;
    }

    .byf-image-badge {
        left: 12px;
        bottom: 12px;
        padding: 15px 18px;
    }

    .byf-badge-number {
        font-size: 16px;
    }

    .byf-about-content h2 {
        font-size: 32px;
    }

    .byf-about-text {
        font-size: 14px;
    }

    .byf-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px 10px;
    }

    .byf-feature {
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .byf-features {
        grid-template-columns: 1fr;
    }

    .byf-about-content h2 {
        font-size: 28px;
    }
}



.clients-logo .item img {
    width: 170px;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.clients-logo .item {
    padding: 10px;
    text-align: center;
}

@media (max-width: 767px) {
    .clients-logo .item img {
        width: 140px;
        height: 75px;
    }
}

/* BY FOCUSE - INNER PAGE BANNER */


.byf-page-banner {
    background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85");
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
}


.byf-page-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(10, 31, 55, 0.88),
        rgba(10, 31, 55, 0.65)
    );
}

.byf-page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 55px 20px;
}

.byf-page-banner-content h1 {
    margin: 0 0 18px;
    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.3;
}

.byf-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    color: #ffffff;
    font-size: 14px;
}

.byf-breadcrumb a {
    color: #65d9d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.byf-breadcrumb a:hover {
    color: #ffffff;
}

.byf-breadcrumb span {
    color: #d5e0eb;
}

.byf-breadcrumb .byf-current-page {
    color: #ffffff;
    font-weight: 600;
}

/* Tablet */

@media (max-width: 768px) {
    .byf-page-banner {
        min-height: 250px;
        background-position: center;
    }

    .byf-page-banner-content {
        padding: 45px 15px;
    }
}

/* Mobile */

@media (max-width: 480px) {
    .byf-page-banner {
        min-height: 210px;
    }

    .byf-page-banner-content h1 {
        font-size: 30px;
    }

    .byf-breadcrumb {
        font-size: 12px;
        gap: 9px;
    }
}



/* ==================================
   BY FOCUSE - GALLERY PAGE
================================== */

.byf-gallery-banner,
.byf-gallery-section {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.byf-gallery-banner *,
.byf-gallery-section *,
.byf-lightbox * {
    box-sizing: border-box;
}

/* Inner page banner */

.byf-gallery-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85")
        center 42% / cover no-repeat;
}

.byf-gallery-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 30, 52, 0.94),
        rgba(8, 30, 52, 0.58)
    );
}

.byf-gallery-banner-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 55px 25px;
    color: #fff;
}

.byf-gallery-eyebrow,
.byf-gallery-label {
    display: block;
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.byf-gallery-banner h1 {
    margin: 12px 0 20px;
    color: #fff;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    font-weight: 800;
}

.byf-gallery-breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.byf-gallery-breadcrumb a {
    color: #32d1cc;
    text-decoration: none;
}

.byf-gallery-breadcrumb span:last-child {
    color: #fff;
}

/* Main gallery */

.byf-gallery-section {
    padding: 70px 25px 85px;
    background: #f7f9fc;
}

.byf-gallery-heading {
    max-width: 720px;
    margin: 0 auto 35px;
    text-align: center;
}

.byf-gallery-heading h2 {
    margin: 14px 0;
    color: #12314f;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    font-weight: 800;
}

.byf-gallery-divider {
    display: block;
    width: 55px;
    height: 3px;
    margin: 0 auto 18px;
    background: #12b2b5;
}

.byf-gallery-heading p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    line-height: 1.9;
}

/* Filters */

.byf-gallery-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 30px;
}

.byf-filter-btn {
    padding: 13px 21px;
    border: 1px solid #d9e2ed;
    border-radius: 10px;
    background: transparent;
    color: #183854;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.byf-filter-btn:hover,
.byf-filter-btn.active {
    background: #bf2323;
    border-color: #bf2323;
    color: #fff;
}

/* Image grid */

.byf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.byf-gallery-item {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    background: #dce5ee;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(20, 48, 75, 0.07);
}

.byf-gallery-item[hidden] {
    display: none !important;
}

.byf-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.byf-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(7, 25, 43, 0.78),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.byf-gallery-item:hover img {
    transform: scale(1.07);
}

.byf-gallery-item:hover::after,
.byf-gallery-item:focus-visible::after {
    opacity: 1;
}

.byf-gallery-caption {
    position: absolute;
    z-index: 1;
    left: 18px;
    right: 45px;
    bottom: 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.3s ease;
}

.byf-gallery-zoom {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #bf2323;
    color: #fff;
    opacity: 0;
    transition: 0.3s ease;
}

.byf-gallery-item:hover .byf-gallery-caption,
.byf-gallery-item:hover .byf-gallery-zoom,
.byf-gallery-item:focus-visible .byf-gallery-caption,
.byf-gallery-item:focus-visible .byf-gallery-zoom {
    opacity: 1;
    transform: translateY(0);
}

.byf-gallery-empty {
    margin: 30px auto 0;
    color: #718096;
    text-align: center;
}

/* Lightbox */

.byf-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 65px;
    background: rgba(5, 15, 28, 0.94);
}

.byf-lightbox.is-open {
    display: flex;
}

.byf-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
}

.byf-lightbox button {
    position: absolute;
    display: grid;
    place-items: center;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

.byf-lightbox button:hover {
    background: #bf2323;
}

.byf-lightbox-close {
    top: 20px;
    right: 25px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 30px;
}

.byf-lightbox-prev,
.byf-lightbox-next {
    top: 50%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.byf-lightbox-prev {
    left: 15px;
}

.byf-lightbox-next {
    right: 15px;
}

body.byf-lightbox-open {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 1000px) {
    .byf-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .byf-gallery-item {
        height: 210px;
    }
}

@media (max-width: 700px) {
    .byf-gallery-banner {
        min-height: 240px;
    }

    .byf-gallery-banner-container {
        padding: 45px 22px;
    }

    .byf-gallery-section {
        padding: 50px 18px 60px;
    }

    .byf-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .byf-gallery-item {
        height: 180px;
    }

    .byf-gallery-filters {
        gap: 8px;
    }

    .byf-filter-btn {
        padding: 11px 13px;
        font-size: 12px;
    }

    .byf-lightbox {
        padding: 55px 45px;
    }
}

@media (max-width: 420px) {
    .byf-gallery-grid {
        grid-template-columns: 1fr;
    }

    .byf-gallery-item {
        height: 235px;
    }

    .byf-gallery-heading p {
        font-size: 14px;
    }
}


/* ==================================
   BY FOCUSE - CONTACT PAGE
================================== */

.byf-contact-banner,
.byf-contact-section {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.byf-contact-banner *,
.byf-contact-section * {
    box-sizing: border-box;
}

/* Inner page banner */

.byf-contact-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85")
        center 42% / cover no-repeat;
}

.byf-contact-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(8, 30, 52, 0.94),
        rgba(8, 30, 52, 0.60)
    );
}

.byf-contact-banner-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 25px;
    color: #fff;
}

.byf-contact-eyebrow {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.byf-contact-banner h1 {
    margin: 14px 0;
    color: #fff;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
}

.byf-contact-banner-container > p {
    margin: 0 0 20px;
    color: #e0e8f0;
    font-size: 15px;
    line-height: 1.8;
}

.byf-contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.byf-contact-breadcrumb a {
    color: #bf2323;
    text-decoration: none;
}

.byf-contact-breadcrumb span:last-child {
    color: #fff;
}

/* Main section */

.byf-contact-section {
    padding: 75px 25px 90px;
    background: #f7f9fc;
}

.byf-contact-heading {
    max-width: 720px;
    margin: 0 auto 45px;
    text-align: center;
}

.byf-contact-label {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.byf-contact-heading h2 {
    margin: 15px 0;
    color: #12314f;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.3;
}

.byf-contact-heading > p {
    margin: 0;
    color: #6b7b8f;
    font-size: 15px;
    line-height: 1.9;
}

.byf-contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 30px;

    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Contact information card */

.byf-contact-info {
    padding: 40px 32px;
    border-radius: 12px;
    background: #12314f;
    color: #fff;
}

.byf-contact-info h3,
.byf-contact-form-box h3 {
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 800;
}

.byf-contact-info-text {
    margin: 0 0 32px;
    color: #d1dce8;
    font-size: 14px;
    line-height: 1.9;
}

.byf-contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 27px;
}

.byf-contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border-radius: 9px;
    background: rgba(32, 196, 190, 0.15);
    color: #4edbd4;
    font-size: 23px;
}

.byf-contact-info-item h4 {
    margin: 2px 0 7px;
    color: #fff;
    font-size: 14px;
}

.byf-contact-info-item a,
.byf-contact-info-item p {
    margin: 0;
    color: #d1dce8;
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.byf-contact-info-item a:hover {
    color: #4edbd4;
}

/* Social links */

.byf-contact-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.byf-contact-social > span {
    width: 100%;
    margin-bottom: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.byf-contact-social a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: 0.25s ease;
}

.byf-contact-social a:hover {
    background: #bf2323;
    transform: translateY(-3px);
}

/* Contact form card */

.byf-contact-form-box {
    min-width: 0;
    padding: 40px;
    border: 1px solid #e7edf3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(18, 49, 79, 0.05);
}

.byf-contact-form-box h3 {
    color: #12314f;
}

.byf-contact-form-box > p {
    margin: 0 0 28px;
    color: #758397;
    font-size: 14px;
    line-height: 1.8;
}

.byf-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.byf-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 20px;
}

.byf-form-group label {
    margin-bottom: 9px;
    color: #253c55;
    font-size: 13px;
    font-weight: 700;
}

.byf-form-group input,
.byf-form-group select,
.byf-form-group textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;

    border: 1px solid #dce4ed;
    border-radius: 6px;
    outline: none;
    background: #fbfcfe;

    color: #263c55;
    font-family: inherit;
    font-size: 14px;

    transition: border-color 0.25s, box-shadow 0.25s;
}

.byf-form-group input,
.byf-form-group select {
    min-height: 48px;
}

.byf-form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.byf-form-group input:focus,
.byf-form-group select:focus,
.byf-form-group textarea:focus {
    border-color: #bf2323;
    box-shadow: 0 0 0 3px rgba(16, 170, 169, 0.10);
}

.byf-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 15px 25px;
    border: 1px solid #bf2323;
    border-radius: 6px;

    background: #bf2323;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.byf-contact-submit span {
    font-size: 20px;
}

.byf-contact-submit:hover {
    background: #12314f;
    border-color: #12314f;
    transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 900px) {
    .byf-contact-layout {
        grid-template-columns: 1fr;
    }

    .byf-contact-info {
        padding: 35px;
    }

    .byf-contact-form-box {
        padding: 35px;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .byf-contact-banner {
        min-height: 230px;
    }

    .byf-contact-banner-container {
        padding: 40px 20px;
    }

    .byf-contact-section {
        padding: 50px 16px 60px;
    }

    .byf-contact-heading {
        margin-bottom: 30px;
    }

    .byf-contact-info,
    .byf-contact-form-box {
        padding: 25px 20px;
    }

    .byf-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .byf-contact-submit {
        width: 100%;
    }
}


/* =================================
   BY FOCUSE - SKILLS ACQUIRED
================================= */

.byf-skills-banner,
.byf-skills-section {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.byf-skills-banner *,
.byf-skills-section * {
    box-sizing: border-box;
}

/* Inner Page Banner */

.byf-skills-banner {
    position: relative;
    min-height: 290px;

    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: url(
        "https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85"
    );

    background-position: center 42%;
    background-size: cover;
    background-repeat: no-repeat;
}

.byf-skills-banner-overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        rgba(8, 30, 52, 0.94),
        rgba(8, 30, 52, 0.60)
    );
}

.byf-skills-banner-content {
    position: relative;
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 55px 25px;

    color: #ffffff;
}

.byf-skills-banner-content > span {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.byf-skills-banner-content h1 {
    margin: 15px 0 20px;

    color: #ffffff;
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 800;
    line-height: 1.2;
}

.byf-skills-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;

    font-size: 14px;
}

.byf-skills-breadcrumb a {
    color: #bf2323;
    text-decoration: none;
}

.byf-skills-breadcrumb span:last-child {
    color: #ffffff;
}

/* Main Content */

.byf-skills-section {
    padding: 75px 25px 90px;
    background: #ffffff;
}

.byf-skills-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.byf-skills-heading {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.byf-skills-label {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.byf-skills-heading h2 {
    margin: 15px 0;

    color: #12314f;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.3;
}

.byf-skills-divider {
    display: block;
    width: 55px;
    height: 3px;

    margin: 0 auto 20px;
    background: #10aaa9;
}

.byf-skills-heading > p {
    margin: 0;

    color: #6b7b8f;
    font-size: 15px;
    line-height: 1.9;
}

/* Text Content Only */

.byf-skills-text {
    color: #586a7d;
    font-size: 15px;
    line-height: 2;
}

.byf-skills-text h3 {
    margin: 35px 0 14px;

    color: #12314f;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
}

.byf-skills-text h3:first-child {
    margin-top: 0;
}

.byf-skills-text p {
    margin: 0 0 18px;
}

.byf-skills-text strong {
    color: #173d5c;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 768px) {
    .byf-skills-banner {
        min-height: 240px;
        background-position: center;
    }

    .byf-skills-banner-content {
        padding: 45px 22px;
    }

    .byf-skills-section {
        padding: 55px 22px 65px;
    }

    .byf-skills-heading {
        margin-bottom: 35px;
    }

    .byf-skills-text h3 {
        font-size: 21px;
    }

    .byf-skills-text {
        font-size: 14px;
        line-height: 1.9;
    }
}

@media (max-width: 480px) {
    .byf-skills-banner {
        min-height: 210px;
    }

    .byf-skills-banner-content {
        padding: 35px 20px;
    }

    .byf-skills-banner-content > span {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .byf-skills-banner-content h1 {
        font-size: 31px;
    }

    .byf-skills-section {
        padding: 45px 18px 55px;
    }

    .byf-skills-heading > p {
        font-size: 14px;
    }

    .byf-skills-text h3 {
        font-size: 19px;
    }
}




/* ===================================
   BY FOCUS - COURSES PAGE
=================================== */

.byfocus-courses-banner,
.byfocus-courses {
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.byfocus-courses-banner *,
.byfocus-courses * {
    box-sizing: border-box;
}

/* Inner Page Banner */

.byfocus-courses-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85")
        center 42% / cover no-repeat;
}

.byfocus-courses-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 30, 52, 0.94),
        rgba(8, 30, 52, 0.58)
    );
}

.byfocus-courses-banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 25px;
    color: #fff;
}

.byfocus-banner-label {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.byfocus-courses-banner h1 {
    margin: 15px 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
}

.byfocus-courses-banner-content > p {
    margin: 0 0 22px;
    color: #e2eaf2;
    font-size: 15px;
    line-height: 1.8;
}

.byfocus-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.byfocus-breadcrumb a {
    color: #bf2323;
    text-decoration: none;
}

.byfocus-breadcrumb span:last-child {
    color: #fff;
}

/* Courses Section */

.byfocus-courses {
    padding: 75px 0 85px;
    background: #f6f8fb;
}

.byfocus-courses .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.byfocus-courses .section-title {
    margin-bottom: 40px;
    text-align: center;
}

.byfocus-courses .courses-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #0aa9ad;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.byfocus-courses .section-title h2 {
    margin: 0 0 12px;
    color: #12314f;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.35;
}

.byfocus-courses .text-theme-colored2 {
    color: #10aaa9;
}

.byfocus-courses .section-title h5 {
    margin: 12px 0;
    color: #64758a;
    font-size: 16px;
    font-weight: 500;
}

.byfocus-courses-intro {
    max-width: 650px;
    margin: 18px auto 0;
    color: #718096;
    font-size: 14px;
    line-height: 1.9;
}

/* Responsive Course Grid */

.byfocus-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

/* Course Card */

.byfocus-courses .course-single-item {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e6ebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(18, 49, 79, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.byfocus-courses .course-single-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(18, 49, 79, 0.12);
}

.byfocus-courses .course-thumb {
    height: 225px;
    overflow: hidden;
    background: #e5ebf2;
}

.byfocus-courses .course-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.byfocus-courses .course-single-item:hover .course-thumb img {
    transform: scale(1.06);
}

.byfocus-courses .course-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    min-height: 245px;
}

.byfocus-course-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #0aa9ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.byfocus-courses .course-details h4 {
    margin: 0 0 12px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.5;
}

.byfocus-courses .course-details h4 a {
    color: #12314f;
    text-decoration: none;
    transition: color 0.25s ease;
}

.byfocus-courses .course-details h4 a:hover {
    color: #10aaa9;
}

.byfocus-courses .course-details p {
    margin: 0 0 22px;
    color: #718096;
    font-size: 13px;
    line-height: 1.9;
}

.byfocus-courses .course-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #0b9fa5;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.25s ease;
}

.byfocus-courses .course-link span {
    font-size: 20px;
}

.byfocus-courses .course-link:hover {
    gap: 16px;
    color: #12314f;
}

/* Tablet */

@media (max-width: 992px) {
    .byfocus-courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .byfocus-courses .course-thumb {
        height: 210px;
    }
}

/* Mobile */

@media (max-width: 576px) {
    .byfocus-courses-banner {
        min-height: 230px;
        background-position: center;
    }

    .byfocus-courses-banner-content {
        padding: 40px 20px;
    }

    .byfocus-banner-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .byfocus-courses {
        padding: 50px 0 60px;
    }

    .byfocus-courses .container {
        padding: 0 16px;
    }

    .byfocus-courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .byfocus-courses .course-thumb {
        height: 220px;
    }

    .byfocus-courses .course-details {
        min-height: auto;
        padding: 22px;
    }

    .byfocus-courses .section-title h5 {
        font-size: 14px;
    }
}

/* Course Details Section */

.course-details-section {
    padding: 80px 0;
    background: #f7f9fc;
    font-family: Arial, sans-serif;
}

.course-details-container {
    width: 90%;
    max-width: 1180px;
    margin: auto;
}

.course-details-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.course-details-label {
    color: #bf2323;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.course-details-header h2 {
    color: #102c46;
    font-size: 36px;
    margin: 12px 0;
}

.course-details-header p {
    color: #718096;
    line-height: 1.8;
}

.course-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 35px;
    align-items: start;
}

.course-details-content,
.course-details-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e5ebf1;
}

.course-details-image {
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
}

.course-details-image img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.course-details-content h3,
.course-details-sidebar h3 {
    color: #102c46;
    font-size: 22px;
    margin: 25px 0 15px;
}

.course-details-content > p {
    color: #718096;
    font-size: 15px;
    line-height: 1.9;
}

.course-details-skills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.course-skill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f7f9fc;
    border-radius: 8px;
}

.course-skill span {
    color: #bf2323;
    font-weight: bold;
}

.course-skill p {
    color: #334155;
    font-size: 14px;
}

.course-module {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #e5ebf1;
}

.course-module:last-child {
    border-bottom: none;
}

.course-module > span {
    min-width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #e8f7f6;
    color: #bf2323;
    border-radius: 8px;
    font-weight: bold;
}

.course-module h4 {
    color: #102c46;
    margin-bottom: 5px;
}

.course-module p {
    color: #718096;
    font-size: 13px;
    line-height: 1.7;
}

/* Sidebar */

.course-details-sidebar {
    position: sticky;
    top: 25px;
}

.course-details-sidebar h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.course-info-item {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #e5ebf1;
}

.course-info-item > span {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #e8f7f6;
    color: #bf2323;
    border-radius: 8px;
    font-size: 19px;
}

.course-info-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-info-item small {
    color: #718096;
}

.course-info-item strong {
    color: #102c46;
    font-size: 13px;
}

.course-details-btn {
    display: block;
    margin-top: 25px;
    padding: 14px;
    text-align: center;
    background: #bf2323;
    color: #fff;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

.course-details-btn:hover {
    background: #102c46;
}

/* Responsive */

@media (max-width: 850px) {
    .course-details-layout {
        grid-template-columns: 1fr;
    }

    .course-details-sidebar {
        position: static;
    }
}

@media (max-width: 550px) {
    .course-details-section {
        padding: 45px 0;
    }

    .course-details-header h2 {
        font-size: 28px;
    }

    .course-details-content,
    .course-details-sidebar {
        padding: 20px;
    }

    .course-details-image img {
        height: 220px;
    }

    .course-details-skills {
        grid-template-columns: 1fr;
    }
}

/* Internal Page Banner */

.inner-page-banner {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1920&q=85")
        center / cover no-repeat;
}

.inner-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 32, 53, 0.95),
        rgba(16, 44, 70, 0.75)
    );
}

.inner-banner-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1180px;
    margin: auto;
    padding: 55px 0;
    color: #fff;
}

.inner-banner-subtitle {
    color: #bf2323;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.inner-banner-container h1 {
    margin: 12px 0;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
}

.inner-banner-container p {
    margin-bottom: 20px;
    color: #e0e8ef;
    font-size: 15px;
}

.inner-banner-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.inner-banner-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.inner-banner-breadcrumb a:hover,
.inner-banner-breadcrumb span:last-child {
    color: #bf2323;
}

/* Responsive */

@media (max-width: 768px) {
    .inner-page-banner {
        min-height: 250px;
    }

    .inner-banner-container {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .inner-page-banner {
        min-height: 220px;
    }

    .inner-banner-container h1 {
        font-size: 30px;
    }

    .inner-banner-container p {
        font-size: 13px;
    }
}

/* Homepage course carousel matches the HTML cards */
#courses .owl-carousel .course-single-item,
#courses .owl-carousel .owl-item .course-single-item {
  height: auto;
  min-height: 0;
  display: block;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  margin: 0;
  box-shadow: none;
}

#courses .owl-carousel .course-single-item:hover {
  transform: none;
  box-shadow: none;
}

#courses .owl-carousel .course-thumb {
  height: auto;
  min-height: 0;
  overflow: visible;
  background: transparent;
}

#courses .owl-carousel .course-thumb::after {
  display: none;
}

#courses .owl-carousel .course-thumb img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none;
  object-fit: unset;
  transform: none;
}

#courses .owl-carousel .course-single-item:hover .course-thumb img {
  transform: none;
}

#courses .owl-carousel .course-details,
#courses .owl-carousel .course-details.course-details {
  display: block;
  flex: none;
  min-height: 0;
  padding: 0;
}

#courses .owl-carousel .course-details h4 {
  min-height: 0;
  margin: 10px 0;
  color: #555;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

#courses .owl-carousel .course-details h4 a,
#courses .owl-carousel .course-details h4 a:hover {
  color: #555;
}

#courses .owl-carousel .course-link {
  display: inline;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  color: #999;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  gap: 0;
}

#courses .owl-carousel .course-link span {
  color: #999;
  font-size: 14px;
}
