
:root {
    --navy: #082d59;
    --blue: #10559a;
    --orange: #ff5b1a;
    --light-blue: #eff8ff;
    --text: #183b65;
    --muted: #63758c;
    --border: #e2ebf3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.top-bar {
    background: var(--navy);
    color: #fff;
    padding: 7px 0;
    font-size: 11px;
}

.social-links {
    display: flex;
    gap: 18px;
}

.social-links a {
    color: #fff;
}

.social-links a:hover {
    color: #ffb38f;
}

.main-header {
    position: relative;
    z-index: 100;
    background: #fff;
    box-shadow: 0 3px 14px rgba(0, 35, 75, 0.07);
}

.main-header .navbar {
    min-height: 88px;
    padding: 10px 0;
}


.main-header .navbar-nav {
    gap: 2px;
}

.main-header .nav-link {
    color: var(--navy);
    font-size: 12px;
    font-weight: 600;
   /* padding: 12px 10px !important;*/
    transition: color 0.25s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--orange);
}

.navbar-toggler {
    border-color: #dbe5ef;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(16, 85, 154, 0.12);
}

.btn-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    border: 1px solid var(--orange);
    border-radius: 5px;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-orange:hover {
    background: #e9480b;
    border-color: #e9480b;
    color: #fff;
    transform: translateY(-2px);
}

/* Page banner */

.training-banner {
    min-height: 230px;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #d9efff;
    background-image:
        linear-gradient(90deg,
            rgba(239, 248, 255, 0.96) 0%,
            rgba(239, 248, 255, 0.75) 35%,
            rgba(239, 248, 255, 0.02) 68%),
        url("../images/training-banner.jpg");
    background-position: center, center 55%;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner-content {
    padding-top: 20px;
    padding-bottom: 20px;
}

.training-banner h1 {
    margin: 0 0 6px;
    color: var(--navy);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.2;
}

.training-banner .breadcrumb {
    margin: 0;
    font-size: 13px;
}

.training-banner .breadcrumb-item a {
    color: var(--text);
}

.training-banner .breadcrumb-item.active {
    color: var(--orange);
}

.training-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #8296ab;
}

/* Common sections */

.section-padding {
    padding: 48px 0;
}

.section-label {
    display: inline-block;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    color: var(--navy);
    font-size: clamp(24px, 2.3vw, 32px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-title span {
    color: var(--orange);
}

.title-line {
    width: 52px;
    height: 4px;
    background: var(--orange);
    margin: 18px 0;
}

.section-description {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* Introduction */

.training-intro {
    background:
        radial-gradient(circle at left top,
            rgba(210, 234, 255, 0.65) 0,
            transparent 180px),
        #fff;
}

.training-photo {
    position: relative;
    padding: 0 0 12px 12px;
}

.training-photo::before {
    content: "";
    position: absolute;
    width: 60%;
    height: 55%;
    top: -12px;
    left: -8px;
    background: #fff0e7;
    border-radius: 36px 0 36px 0;
    z-index: 0;
}

.training-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(8, 45, 89, 0.12);
}

.training-benefits {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-left: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: #fff;
    font-size: 19px;
    box-shadow: 0 7px 18px rgba(255, 91, 26, 0.19);
}

.benefit-item h3 {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.benefit-item p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}

/* Programs */

.program-section {
    background:
        radial-gradient(circle at left top,
            rgba(210, 235, 255, 0.55) 0,
            transparent 180px),
        linear-gradient(120deg, #f0f8ff, #f9fcff);
}

.program-section .section-title {
    margin-bottom: 6px;
}

.program-description {
    margin-bottom: 22px;
}

.program-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.filter-btn {
    padding: 10px 22px;
    border: 1px solid #e5edf5;
    background: #fff;
    color: var(--navy);
    border-radius: 25px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #fff;
    background: var(--orange);
    border-color: var(--orange);
}

.filter-btn:focus-visible,
.course-btn:focus-visible,
.btn-orange:focus-visible {
    outline: 3px solid rgba(16, 85, 154, 0.35);
    outline-offset: 3px;
}

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 11px;
    box-shadow: 0 5px 20px rgba(8, 45, 89, 0.045);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(8, 45, 89, 0.12);
}

.course-card > img {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: cover;
    background: #e6eef5;
}

.course-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px;
}

.course-content h3 {
    color: var(--navy);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
    min-height: 40px;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #344d6c;
    font-size: 11px;
}

.course-meta i {
    color: var(--blue);
    margin-right: 4px;
}

.course-btn {
    display: block;
    margin-top: auto;
    padding: 10px 8px;
    text-align: center;
    border-radius: 5px;
    background: var(--orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    transition: background 0.25s ease;
}

.course-btn:hover {
    color: #fff;
    background: #e9480b;
}

.program-card[hidden] {
    display: none !important;
}

.no-programs {
    color: var(--muted);
    padding: 20px 0;
}

/* CTA */

.training-cta {
    padding: 32px 0;
    background: linear-gradient(110deg, #104878, #2166a0);
    color: #fff;
}

.training-cta h2 {
    font-size: clamp(21px, 2.5vw, 27px);
    font-weight: 700;
    margin-bottom: 7px;
}

.training-cta p {
    margin: 0;
    color: #e0efff;
    font-size: 12px;
}

/* Footer */

.main-footer {
    background: #05274e;
    color: #dbe8f6;
    padding: 42px 0 0;
}

.footer-logo {
    width: 260px;
    max-height: 70px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 4px;
}

.footer-about {
    color: #c1d1e3;
    font-size: 12px;
    line-height: 1.8;
}

.main-footer h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 18px;
}

.main-footer .col-lg-2 > a,
.main-footer .col-lg-3 > a {
    display: block;
    width: fit-content;
    margin-bottom: 9px;
    color: #c1d1e3;
    font-size: 12px;
    transition: color 0.2s ease;
}

.main-footer a:hover {
    color: #ff8b5c;
}

.main-footer p {
    color: #c1d1e3;
    font-size: 11px;
    line-height: 1.9;
}

.main-footer p i {
    width: 18px;
    color: #fff;
    margin-right: 5px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.footer-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.footer-social a:hover {
    background: var(--orange);
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin-top: 32px;
    padding: 20px 0;
    color: #b8cbe0;
    font-size: 10px;
}

.footer-bottom a {
    color: #dbe8f6;
}

/* Back to top */

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99;
    width: 45px;
    height: 45px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: #e9480b;
}

/* Responsive */

@media (min-width: 992px) {
    .program-section .row {
        --bs-gutter-x: 1.25rem;
    }
}

@media (max-width: 1199.98px) {
    .header-logo {
        width: 300px;
        height: 65px;
    }

    .main-header .nav-link {
        font-size: 11px;
        padding: 10px 7px !important;
    }

    .training-benefits {
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .main-header .navbar {
        min-height: 76px;
    }

    .header-logo {
        width: 300px;
        height: 62px;
    }

    .main-header .navbar-collapse {
        padding: 12px 0;
    }

    .main-header .nav-link {
        padding: 10px 4px !important;
    }

    .training-banner {
        min-height: 200px;
        background-position: center, 60% center;
    }

    .training-photo img {
        height: 300px;
    }

    .training-benefits {
        padding-left: 0;
    }

    .course-card > img {
        height: 170px;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        font-size: 9px;
    }

    .social-links {
        gap: 10px;
    }

    .header-logo {
        width: 235px;
        height: 58px;
    }

    .section-padding {
        padding: 35px 0;
    }

    .training-banner {
        min-height: 165px;
        background-position: center, 63% center;
    }

    .training-banner h1 {
        font-size: 34px;
    }

    .training-photo img {
        height: 235px;
    }

    .program-filters {
        gap: 7px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 11px;
    }

    .course-card > img {
        height: 190px;
    }

    .course-content h3 {
        min-height: auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
