/* =========================================================
   DILSHAD AHMED
   UPCOMING + PREVIOUS TRAININGS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');


/* =========================================================
   ROOT
   ========================================================= */

:root {
    --primary: #8500e8;
    --primary-dark: #6800b8;
    --pink: #e83f9e;

    --dark: #191029;
    --dark-2: #2d1b3d;

    --text: #4d4357;
    --muted: #71677a;

    --light-purple: #f5edff;
    --light-pink: #fff1f8;

    --border: rgba(133, 0, 232, 0.12);

    --white: #ffffff;

    --shadow-sm:
        0 8px 25px rgba(50, 0, 80, 0.06);

    --shadow-md:
        0 18px 45px rgba(60, 0, 100, 0.09);

    --shadow-lg:
        0 30px 70px rgba(70, 0, 100, 0.13);
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark) !important;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

button,
input,
select {
    font-family: inherit;
}


/* =========================================================
   COMMON
   ========================================================= */

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.main-header {
    position: relative;
    z-index: 100;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid rgba(100, 0, 150, 0.07);

    backdrop-filter: blur(15px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* Logo */

.logo {
    display: flex;
    flex-direction: column;

    min-width: 190px;
}

.logo strong {
    font-family: "Manrope", sans-serif;

    color: var(--dark);

    font-size: 20px;
    font-weight: 800;

    line-height: 1;
}

.logo small {
    margin-top: 5px;

    color: var(--primary);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 0.7px;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;

    gap: 32px;
}

.main-nav a {
    position: relative;

    color: #342640;

    font-size: 13px;
    font-weight: 600;

    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -27px;

    width: 22px;
    height: 2px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--pink)
    );

    border-radius: 10px;
}


/* Header Button */

.header-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 44px;

    padding: 0 20px;

    border-radius: 30px;

    color: #ffffff;

    background: linear-gradient(
        90deg,
        var(--primary),
        var(--pink)
    );

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(133, 0, 232, 0.18);

    transition: 0.3s ease;
}

.header-btn i {
    font-size: 11px;
}

.header-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(133, 0, 232, 0.25);
}


/* =========================================================
   HERO
   ========================================================= */

.training-hero {
    position: relative;

    overflow: hidden;

    min-height: 420px;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(174, 78, 255, 0.16),
            transparent 28%
        ),

        radial-gradient(
            circle at 15% 70%,
            rgba(255, 109, 166, 0.09),
            transparent 25%
        ),

        linear-gradient(
            135deg,
            #ffffff 0%,
            #fbf5ff 100%
        );
}


/* Hero Container */

.training-hero .container {
    min-height: 420px;

    display: grid;

    grid-template-columns:
        1fr 0.75fr;

    align-items: center;

    gap: 40px;

    position: relative;

    z-index: 2;
}


/* Hero Content */

.hero-content {
    padding: 150px 0;
}


/* Label */

.section-label {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 16px;
}

.section-label span {
    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.section-label::after {
    content: "";

    width: 60px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--pink)
        );

    border-radius: 10px;
}


/* Heading */

.page-title,
.hero-content h1 {
    margin: 0;

    font-family: "Manrope", sans-serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 800;

    color: var(--dark);
}

.page-title span,
.hero-content h1 span {
    background:
        linear-gradient(
            90deg,
            #7100e6,
            #d932a4
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}


/* Hero subtitle */

.hero-content h2 {
    margin-top: 13px;

    color: #63537c;

    font-size: 21px;

    font-weight: 500;
}

.hero-content > p {
    max-width: 650px;

    margin-top: 12px;

    color: var(--text);

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   HERO FEATURES
   ========================================================= */

.hero-features {
    display: flex;

    gap: 35px;

    margin-top: 30px;
}

.hero-feature {
    display: flex;

    align-items: center;

    gap: 10px;
}

.feature-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--primary);

    background:
        linear-gradient(
            145deg,
            #f0dcff,
            #fff2fb
        );

    font-size: 19px;
}

.hero-feature div:last-child {
    display: flex;
    flex-direction: column;
}

.hero-feature strong {
    color: var(--dark);

    font-size: 12px;

    font-weight: 800;
}

.hero-feature span {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   HERO VISUAL
   ========================================================= */

.hero-visual {
    /* position: relative;

    height: 100%;

    min-height: 420px; */

    overflow: hidden;
}


/* Construction Background */

.hero-construction-bg {
    position: absolute;

    right: -50px;
    top: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            #fbf5ff 0%,
            rgba(247, 226, 255, 0.35) 40%,
            rgba(222, 190, 241, 0.18) 100%
        );

    clip-path:
        polygon(
            20% 0,
            100% 0,
            100% 100%,
            0 100%
        );
}


/* Decorative circle */

.hero-circle {
    position: absolute;

    width: 360px;
    height: 360px;

    border-radius: 50%;

    right: -130px;
    top: 40px;

    background:
        radial-gradient(
            circle,
            rgba(190, 90, 255, 0.13),
            transparent 70%
        );
}


/* Dots */

.hero-dots {
    position: absolute;

    width: 80px;
    height: 80px;

    left: 50%;
    bottom: 35px;

    opacity: 0.45;

    background-image:
        radial-gradient(
            var(--pink) 1.5px,
            transparent 1.5px
        );

    background-size: 13px 13px;
}


/* Handwritten note */

.hero-note {
    position: absolute;

    right: 70px;
    top: 100px;

    z-index: 4;

    display: flex;

    flex-direction: column;

    color: #2d1739;

    font-family: cursive;

    font-size: 26px;

    line-height: 1.05;

    transform: rotate(-7deg);
}

.hero-note span:last-child {
    color: var(--primary);
}


/* =========================================================
   PREVIOUS HERO
   ========================================================= */

.previous-hero .container {
    grid-template-columns:
        1fr 0.7fr;
}

.previous-hero-image {
    position: relative;

    height: 420px;

    display: flex;

    justify-content: flex-end;

    align-items: flex-end;
}

.previous-hero-image img {
    height: 360px;
    width: 270px;

    object-fit: cover;
    object-position: center top;

    border-radius: 25px 25px 0 0;

    box-shadow:
        0 25px 55px rgba(60, 0, 90, 0.15);
}


/* Previous quote */

.hero-quote {
    position: absolute;

    right: 270px;
    top: 100px;

    display: flex;

    flex-direction: column;

    font-family: cursive;

    font-size: 22px;

    line-height: 1.1;

    color: #291638;

    transform: rotate(-7deg);
}

.hero-quote span:nth-child(2) {
    color: var(--primary);
}

.hero-quote span:nth-child(4) {
    color: var(--pink);
}


/* Archive Stats */

.archive-stats {
    display: flex;

    gap: 45px;

    margin-top: 28px;
}

.archive-stats div {
    display: flex;

    flex-direction: column;
}

.archive-stats strong {
    font-family: "Manrope", sans-serif;

    font-size: 27px;

    color: var(--primary);
}

.archive-stats span {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   TRAINING LIST
   ========================================================= */

.training-list-section {
    position: relative;

    padding: 45px 0 80px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fcf9ff 100%
        );
}


/* =========================================================
   FILTER
   ========================================================= */

.training-filter {
    display: grid;

    grid-template-columns:
        1.8fr
        1fr
        1fr
        auto;

    gap: 10px;

    padding: 10px;

    margin-bottom: 28px;

    border: 1px solid var(--border);

    border-radius: 15px;

    background: #ffffff;

    box-shadow: var(--shadow-sm);
}


/* Search */

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);

    font-size: 13px;
}

.search-box input,
.training-filter select {
    width: 100%;

    height: 46px;

    border: 1px solid rgba(100, 0, 160, 0.10);

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: var(--dark);

    font-size: 12px;
}

.search-box input {
    padding: 0 15px 0 42px;
}

.training-filter select {
    padding: 0 13px;

    cursor: pointer;
}

.search-box input:focus,
.training-filter select:focus {
    border-color: rgba(133, 0, 232, 0.35);

    box-shadow:
        0 0 0 3px rgba(133, 0, 232, 0.05);
}


/* Filter button */

.filter-btn {
    height: 46px;

    padding: 0 27px;

    border: 0;

    border-radius: 9px;

    cursor: pointer;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--pink)
        );

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(133, 0, 232, 0.18);

    transition: 0.25s ease;
}

.filter-btn:hover {
    transform: translateY(-2px);
}


/* =========================================================
   TRAINING GRID
   ========================================================= */

.training-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}


/* =========================================================
   TRAINING CARD
   ========================================================= */

.training-card {
    overflow: hidden;

    border-radius: 18px;

    background: #ffffff;

    border: 1px solid rgba(100, 0, 160, 0.09);

    box-shadow:
        0 10px 30px rgba(50, 0, 80, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.training-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 25px 55px rgba(60, 0, 90, 0.12);
}


/* =========================================================
   POSTER
   ========================================================= */

.poster {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;

    background: #f4eff8;
}

.poster img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: top center;

    transition: transform 0.5s ease;
}

.training-card:hover .poster img {
    transform: scale(1.025);
}


/* Status */

.training-status {
    position: absolute;

    left: 13px;
    top: 13px;

    z-index: 5;

    padding: 7px 11px;

    border-radius: 20px;

    background: #ffffff;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.8px;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12);
}

.training-status.completed {
    color: #5e6570;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.training-card-content {
    padding: 19px;
}

.training-card-content h3 {
    min-height: 50px;

    margin-bottom: 14px;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 17px;

    line-height: 1.35;

    font-weight: 700;
}


/* Meta */

.training-meta {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 9px;

    color: var(--muted);

    font-size: 10.5px;
}

.training-meta span {
    display: flex;

    align-items: center;

    gap: 6px;
}

.training-meta i {
    color: var(--primary);

    font-size: 11px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.card-buttons {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 18px;
}

.btn-primary,
.btn-outline {
    min-height: 41px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 8px;

    font-size: 11px;

    font-weight: 800;

    transition: 0.25s ease;
}

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--pink)
        );

    box-shadow:
        0 8px 18px rgba(133, 0, 232, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(133, 0, 232, 0.22);
}

.btn-outline {
    color: var(--primary);

    background: #ffffff;

    border: 1px solid rgba(133, 0, 232, 0.30);
}

.btn-outline:hover {
    color: #ffffff;

    background: var(--primary);

    border-color: var(--primary);
}

.full-btn {
    width: 100%;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 45px;
}

.pagination button {
    width: 38px;
    height: 38px;

    border: 0;

    border-radius: 50%;

    cursor: pointer;

    color: #4d4057;

    background: #ffffff;

    border: 1px solid rgba(133, 0, 232, 0.10);

    font-size: 12px;

    font-weight: 700;

    transition: 0.25s ease;
}

.pagination button:hover {
    color: var(--primary);

    border-color: var(--primary);
}

.pagination button.current {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--pink)
        );

    border-color: transparent;

    box-shadow:
        0 8px 20px rgba(133, 0, 232, 0.20);
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.training-page-cta {
    padding: 45px 0 80px;

    background: #fcf9ff;
}

.training-page-cta .container {
    min-height: 110px;

    display: flex;

    align-items: center;

    gap: 22px;

    padding: 25px 32px;

    border-radius: 20px;

    background:
        linear-gradient(
            100deg,
            #f5eaff,
            #fff1f8
        );

    border: 1px solid rgba(133, 0, 232, 0.08);

    box-shadow:
        0 15px 35px rgba(70, 0, 100, 0.05);
}


/* CTA Icon */

.cta-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--primary);

    background: #ffffff;

    font-size: 20px;

    box-shadow:
        0 7px 20px rgba(100, 0, 150, 0.08);
}


/* CTA Content */

.cta-content {
    flex: 1;
}

.cta-content h3 {
    margin-bottom: 5px;

    color: var(--dark);

    font-family: "Manrope", sans-serif;

    font-size: 18px;

    font-weight: 800;
}

.cta-content p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.5;
}


/* CTA Button */

.cta-btn {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 48px;

    padding: 0 25px;

    border-radius: 30px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--pink)
        );

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 12px 25px rgba(133, 0, 232, 0.20);

    transition: 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(133, 0, 232, 0.25);
}


/* =========================================================
   ARCHIVE PAGE
   ========================================================= */

.archive-section {
    padding-top: 45px;
}

.archive-grid .training-card {
    background: #ffffff;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.empty-state {
    grid-column: 1 / -1;

    padding: 60px 30px;

    text-align: center;

    border-radius: 20px;

    border: 1px dashed rgba(133, 0, 232, 0.20);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #fbf6ff
        );
}

.empty-state .icon {
    width: 60px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    color: var(--primary);

    background: var(--light-purple);

    font-size: 25px;
}

.empty-state h3 {
    margin-bottom: 7px;

    font-family: "Manrope", sans-serif;

    font-size: 21px;
}

.empty-state p {
    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   DECORATIVE PAGE ELEMENTS
   ========================================================= */

.training-list-section::after {
    content: "";

    position: absolute;

    width: 70px;
    height: 70px;

    right: 4%;
    bottom: 30px;

    opacity: 0.5;

    background-image:
        radial-gradient(
            var(--pink) 1.5px,
            transparent 1.5px
        );

    background-size: 12px 12px;

    pointer-events: none;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 20px;
    }

    .header-btn {
        padding: 0 15px;
    }

    .training-hero .container {
        grid-template-columns: 1fr 0.6fr;
    }

    .training-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .training-filter {
        grid-template-columns:
            1.5fr 1fr 1fr;
    }

    .filter-btn {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 800px) {

    .main-nav {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .training-hero .container,
    .previous-hero .container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 65px 0 25px;
    }

    .hero-visual {
        display: none;
    }

    .previous-hero-image {
        display: none;
    }

    .training-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-features {
        gap: 25px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }


    /* Header */

    .header-inner {
        justify-content: center;
    }

    .logo {
        min-width: 0;
    }

    .header-btn {
        display: none;
    }


    /* Hero */

    .training-hero {
        min-height: auto;
    }

    .training-hero .container {
        min-height: auto;
    }

    .hero-content {
        padding: 60px 0 55px;
    }

    .page-title,
    .hero-content h1 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .hero-content h2 {
        font-size: 18px;
    }

    .hero-content > p {
        font-size: 14px;
    }


    /* Features */

    .hero-features {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 17px;

        margin-top: 25px;
    }

    .hero-feature {
        gap: 8px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;

        font-size: 16px;
    }


    /* Filter */

    .training-filter {
        display: flex;

        flex-direction: column;

        padding: 10px;
    }

    .filter-btn {
        width: 100%;
    }


    /* Grid */

    .training-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .poster {
        aspect-ratio: 4 / 5;
    }


    /* Card */

    .training-card-content {
        padding: 17px;
    }

    .training-card-content h3 {
        font-size: 16px;
    }


    /* Buttons */

    .card-buttons {
        grid-template-columns:
            1fr 1fr;
    }


    /* Pagination */

    .pagination {
        margin-top: 32px;
    }


    /* CTA */

    .training-page-cta {
        padding: 30px 0 55px;
    }

    .training-page-cta .container {
        align-items: flex-start;

        flex-direction: column;

        padding: 25px;
    }

    .cta-content h3 {
        font-size: 17px;
    }

    .cta-btn {
        width: 100%;
    }


    /* Archive */

    .archive-stats {
        gap: 25px;
    }

    .archive-stats strong {
        font-size: 23px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .page-title,
    .hero-content h1 {
        font-size: 38px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .training-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }

    .card-buttons {
        grid-template-columns: 1fr;
    }

}