/* =========================================================
   GOMAN SECURITY
   TRAINING PAGE CSS
========================================================= */


/* =========================================================
   TRAINING HERO
========================================================= */

.training-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.94),
            rgba(24, 18, 12, 0.90)
        ),
        url("../assets/images/security-training.jpg");

    background-size: cover;
    background-position: center;
}


.training-hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(184, 134, 11, 0.18),
            transparent 35%
        );
}


.training-hero .container {
    position: relative;
    z-index: 2;
}


.training-hero-content {
     position: relative;
    z-index: 2;

    max-width: 800px;

    text-align: center;

    margin: 0 auto;
}


.training-hero .section-tag {
    display: inline-block;
    margin-bottom: 20px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #c9a227;
}


.training-hero h1 {
    margin: 0 0 25px;

    font-family: "Oswald", sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    font-weight: 600;
    line-height: 1.05;

    color: #ffffff;
}


.training-hero h1 span {
    display: block;
    color: #c9a227;
}


.training-hero p {
    max-width: 700px;

    margin: 0 auto 25px;

    color: #d6deea;

    font-size: 1.08rem;
}

.breadcrumb {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    color: #aebccc;

    font-family: "IBM Plex Mono", monospace;

    font-size: 0.85rem;
}

.breadcrumb a {
    color: #ffffff;

    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #c9a227;
}

.breadcrumb span:first-of-type {
    color: #c9a227;
}


/* =========================================================
   TRAINING OVERVIEW
========================================================= */

.training-overview {
    padding: 100px 0;
    background: #ffffff;
}


.overview-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 70px;

    align-items: center;
}


.overview-image {
    position: relative;
}


.image-frame {
    position: relative;
    overflow: hidden;

    border-radius: 8px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15);
}


.image-frame::after {
    content: "";

    position: absolute;
    inset: 0;

    border: 1px solid rgba(201, 162, 39, 0.35);

    pointer-events: none;
}


.image-frame img {
    display: block;

    width: 100%;
    height: 520px;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.image-frame:hover img {
    transform: scale(1.04);
}


.overview-content {
    max-width: 620px;
}


.overview-content .section-tag {
    display: inline-block;

    margin-bottom: 15px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #a27d08;
}


.overview-content h2 {
    margin: 0 0 22px;

    font-family: "Oswald", sans-serif;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.12;

    color: #171717;
}


.overview-content > p {
    margin: 0 0 18px;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;

    color: #666666;
}


/* =========================================================
   OVERVIEW FEATURES
========================================================= */

.overview-features {
    margin: 30px 0;
}


.overview-feature {
    display: flex;

    gap: 18px;

    padding: 18px 0;

    border-bottom: 1px solid #eeeeee;
}


.overview-feature:first-child {
    border-top: 1px solid #eeeeee;
}


.overview-feature > i {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(201, 162, 39, 0.12);

    color: #a27d08;

    font-size: 20px;
}


.overview-feature h4 {
    margin: 0 0 5px;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 17px;
    font-weight: 700;

    color: #222222;
}


.overview-feature p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #777777;
}


/* =========================================================
   BUTTON
========================================================= */

.training-overview .btn,
.training-cta .btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    text-decoration: none;
}


.training-overview .btn-gold,
.training-cta .btn-gold {
    background: #b8860b;
    color: #ffffff;

    border: 1px solid #b8860b;
}


.training-overview .btn-gold:hover,
.training-cta .btn-gold:hover {
    background: #936d08;
    border-color: #936d08;
}


/* =========================================================
   WHY TRAIN WITH GOMAN
========================================================= */

.why-training {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f7f7f7 0%,
            #ffffff 100%
        );
}


.section-title.text-center {
    max-width: 760px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-title.text-center > span {
    display: inline-block;

    margin-bottom: 12px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #a27d08;
}


.section-title.text-center h2 {
    margin: 0 0 18px;

    font-family: "Oswald", sans-serif;
    font-size: clamp(36px, 4vw, 52px);

    color: #171717;
}


.section-title.text-center p {
    margin: 0;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 16px;
    line-height: 1.8;

    color: #6b6b6b;
}


.why-training-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}


.why-training-card {
    position: relative;

    padding: 40px 28px;

    background: #ffffff;

    border: 1px solid #e9e9e9;

    border-radius: 8px;

    text-align: center;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.05);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.why-training-card:hover {
    transform: translateY(-10px);

    border-color: rgba(184, 134, 11, 0.45);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.10);
}


.training-icon {
    width: 70px;
    height: 70px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #171717;

    color: #c9a227;

    font-size: 27px;

    transition:
        transform 0.35s ease,
        background 0.35s ease;
}


.why-training-card:hover .training-icon {
    transform: rotateY(180deg);

    background: #c9a227;

    color: #171717;
}


.why-training-card h3 {
    margin: 0 0 13px;

    font-family: "Oswald", sans-serif;
    font-size: 23px;

    color: #222222;
}


.why-training-card p {
    margin: 0;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: #707070;
}


/* =========================================================
   TRAINING PROGRAMMES
========================================================= */

.training-programmes {
    padding: 100px 0;

    background: #111111;
}


.training-programmes .section-title.text-center > span {
    color: #c9a227;
}


.training-programmes .section-title.text-center h2 {
    color: #ffffff;
}


.training-programmes .section-title.text-center p {
    color: rgba(255, 255, 255, 0.65);
}


.programmes-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


.programme-card {
    position: relative;

    overflow: hidden;

    min-height: 310px;

    padding: 38px 30px;

    background:
        linear-gradient(
            145deg,
            #1b1b1b,
            #111111
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;
}


.programme-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -45px;
    bottom: -45px;

    border-radius: 50%;

    background: rgba(201, 162, 39, 0.08);
}


.programme-card:hover {
    transform: translateY(-8px);

    border-color: rgba(201, 162, 39, 0.45);
}


.programme-number {
    margin-bottom: 25px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #c9a227;
}


.programme-card > i {
    display: block;

    margin-bottom: 20px;

    font-size: 32px;

    color: #c9a227;
}


.programme-card h3 {
    margin: 0 0 14px;

    font-family: "Oswald", sans-serif;
    font-size: 25px;

    color: #ffffff;
}


.programme-card p {
    margin: 0;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 15px;
    line-height: 1.75;

    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   TRAINING CTA
========================================================= */

.training-cta {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #191919,
            #302510
        );
}


.training-cta::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background:
        rgba(201, 162, 39, 0.08);
}


.training-cta-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    text-align: center;

    margin: 0 auto;
}


.training-cta .section-tag {
    display: inline-block;

    margin-bottom: 15px;

    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;

    color: #c9a227;
}


.training-cta h2 {
    margin: 0 0 20px;

    font-family: "Oswald", sans-serif;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.1;

    color: #ffffff;
}


.training-cta p {
    max-width: 700px;

    margin: 0 auto 30px;

    font-family: "IBM Plex Sans", sans-serif;
    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.72);
}


.cta-buttons {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    flex-wrap: wrap;
}


.btn-outline-light {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 25px;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 4px;

    color: #ffffff;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.btn-outline-light:hover {
    background: #ffffff;

    border-color: #ffffff;

    color: #171717;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.training-page-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.training-page-reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .why-training-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .programmes-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .training-hero {
        min-height: 480px;
    }

    .overview-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .overview-content {
        max-width: none;
    }

    .image-frame img {
        height: 450px;
    }

}


@media (max-width: 700px) {

    .training-hero-content {
        padding: 70px 0;
    }

    .training-hero h1 {
        font-size: 45px;
    }

    .training-hero p {
        font-size: 16px;
    }

    .training-overview,
    .why-training,
    .training-programmes,
    .training-cta {
        padding: 70px 0;
    }

    .image-frame img {
        height: 350px;
    }

    .why-training-grid,
    .programmes-grid {
        grid-template-columns: 1fr;
    }

    .why-training-card {
        padding: 35px 25px;
    }

}


@media (max-width: 500px) {

    .training-hero h1 {
        font-size: 38px;
    }

    .training-hero-content {
        padding: 60px 0;
    }

    .overview-content h2 {
        font-size: 36px;
    }

    .image-frame img {
        height: 300px;
    }

    .overview-feature {
        align-items: flex-start;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn,
    .cta-buttons .btn-outline-light {
        width: 100%;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .training-hero *,
    .training-overview *,
    .why-training *,
    .training-programmes *,
    .training-cta * {
        animation: none !important;

        transition: none !important;
    }

}