/* ==========================================================================
   BASSMAH TRAINING PAGE — Premium Design
   ========================================================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --tr-brand: #2f5aae;
    --tr-brand-light: #338eaa;
    --tr-green: #27ae60;
    --tr-green2: #2ecc71;
    --tr-dark: #0a0f1e;
    --tr-dark-blue: #102a43;
    --tr-light: #f0f4f8;
    --tr-text: #1a1a2e;
    --tr-text-light: #3d4654;
    --tr-white: #fff;
    --tr-shadow: 0 10px 40px rgba(0,0,0,0.08);
    --tr-shadow-lg: 0 25px 60px rgba(0,0,0,0.12);
    --tr-radius: 24px;
    --tr-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== KEYFRAMES ===== */
@keyframes trOrbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}
@keyframes trOrbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}
@keyframes trDecoFloat1 {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-20px) rotate(-10deg); }
}
@keyframes trDecoFloat2 {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes trDecoFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(8deg); }
}
@keyframes trFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes trPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@keyframes trShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* ===== BUTTONS ===== */
.tr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--tr-transition);
}
.tr-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tr-btn:hover::before {
    opacity: 1;
    animation: trShimmer 1.5s ease-in-out;
}
.tr-btn--green {
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    box-shadow: 0 8px 30px rgba(39,174,96,0.3);
}
.tr-btn--green:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(39,174,96,0.4);
    color: var(--tr-white);
}
.tr-btn--hero {
    padding: 16px 52px;
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    box-shadow: 0 8px 30px rgba(39,174,96,0.35);
}
.tr-btn--hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(39,174,96,0.45);
    color: var(--tr-white);
}
.tr-btn--outline {
    background: transparent;
    color: var(--tr-dark);
    border: 2px solid #e8ecf1;
    box-shadow: none;
}
.tr-btn--outline:hover {
    transform: translateY(-3px);
    border-color: var(--tr-green);
    color: var(--tr-green);
    box-shadow: 0 8px 30px rgba(39,174,96,0.15);
}


/* ==========================================================================
   1. HERO
   ========================================================================== */
.tr-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--tr-dark);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Floating orbs */
.tr-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: rgba(39,174,96,0.08);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: trOrbFloat1 10s ease-in-out infinite;
}
.tr-hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: rgba(47,90,174,0.06);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    animation: trOrbFloat2 12s ease-in-out infinite;
}

/* Dark overlay with gradient */
.tr-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(12,26,42,0.78) 0%, rgba(0,0,0,0.35) 40%, rgba(26,45,74,0.65) 100%);
    z-index: 1;
}

/* Decorative circle (border only) */
.tr-hero__overlay::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 6%;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(255,255,255,0.07);
    border-radius: 50%;
    animation: trOrbFloat2 8s ease-in-out infinite;
    pointer-events: none;
}

/* Rotated square */
.tr-hero__overlay::after {
    content: '';
    position: absolute;
    bottom: 18%;
    right: 8%;
    width: 140px;
    height: 140px;
    border: 2px solid rgba(39,174,96,0.12);
    border-radius: 24px;
    transform: rotate(45deg);
    animation: trOrbFloat1 12s ease-in-out infinite;
    pointer-events: none;
}

/* Decorative shapes container */
.tr-hero__shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.tr-hero__shape {
    position: absolute;
    border-radius: 50%;
}
.tr-hero__shape--1 {
    width: 300px;
    height: 300px;
    background: rgba(39,174,96,0.06);
    filter: blur(60px);
    top: 20%;
    right: 15%;
    animation: trOrbFloat1 14s ease-in-out infinite;
}
.tr-hero__shape--2 {
    width: 180px;
    height: 180px;
    border: 2px solid rgba(255,255,255,0.05);
    bottom: 25%;
    left: 12%;
    animation: trDecoFloat1 10s ease-in-out infinite;
}
.tr-hero__shape--3 {
    width: 100px;
    height: 100px;
    background: rgba(47,90,174,0.08);
    filter: blur(40px);
    top: 60%;
    right: 30%;
    animation: trOrbFloat2 9s ease-in-out infinite;
}

/* Hero content */
.tr-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 20px 80px;
    max-width: 850px;
    margin: 0 auto;
}
.tr-hero .section-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--tr-white);
    font-size: 15px;
    font-weight: 700;
    padding: 10px 32px;
    border-radius: 50px;
    margin-bottom: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    letter-spacing: 0.5px;
}
.tr-hero__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    color: var(--tr-white);
    line-height: 1.35;
    margin-bottom: 32px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}


/* ==========================================================================
   2. INTRO
   ========================================================================== */
.tr-intro {
    padding: 80px 0;
    background: var(--tr-white);
    position: relative;
    overflow: hidden;
}
.tr-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(39,174,96,0.03) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(47,90,174,0.03) 0%, transparent 50%);
    pointer-events: none;
}
.tr-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.tr-intro__image {
    position: relative;
}
.tr-intro__image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: var(--tr-radius);
    box-shadow: var(--tr-shadow-lg);
    border: 4px solid rgba(255,255,255,0.8);
}
.tr-intro__image::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: linear-gradient(135deg, rgba(39,174,96,0.08), rgba(47,90,174,0.06));
    border-radius: 32px;
    filter: blur(40px);
    z-index: -1;
}
.tr-intro__content {
    position: relative;
}
.tr-intro__content .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-brand), var(--tr-brand-light));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-intro__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}
.tr-intro__subtitle {
    font-size: 17px;
    font-weight: 700;
    color: var(--tr-green);
    margin-bottom: 18px;
    position: relative;
    padding-right: 16px;
}
.tr-intro__subtitle::before {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    width: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(180deg, var(--tr-green), var(--tr-green2));
    border-radius: 4px;
}
.tr-intro__desc {
    font-size: 16px;
    font-weight: 500;
    color: var(--tr-text-light);
    line-height: 2;
    margin-bottom: 28px;
}


/* ==========================================================================
   3. HIGHLIGHTS
   ========================================================================== */
.tr-highlights {
    padding: 80px 0;
    background: linear-gradient(160deg, #f8fbff 0%, #eaf1fd 30%, #e8f4fd 70%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}
/* Accent bar at top */
.tr-highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2), var(--tr-brand));
}
/* Radial overlay */
.tr-highlights::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(47,90,174,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.tr-highlights .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-brand), var(--tr-brand-light));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-highlights .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-highlights__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-highlights__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

/* Cards */
.tr-highlights__card {
    background: var(--tr-white);
    border-radius: var(--tr-radius);
    border: 2px solid #e8ecf1;
    box-shadow: var(--tr-shadow);
    padding: 32px 20px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: var(--tr-transition);
}
/* Accent bar per card */
.tr-highlights__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    margin: auto;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-brand));
}
/* Gradient bg per nth-child */
.tr-highlights__card:nth-child(1) { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); }
.tr-highlights__card:nth-child(2) { background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); }
.tr-highlights__card:nth-child(3) { background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); }
.tr-highlights__card:nth-child(4) { background: linear-gradient(180deg, #fce4ec 0%, #fff 100%); }
/* Hover */
.tr-highlights__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tr-shadow-lg);
    border-color: var(--tr-green);
}

/* Icon containers */
.tr-highlights__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 14px;
    transition: var(--tr-transition);
}
.tr-highlights__card:hover .tr-highlights__icon {
    transform: scale(1.08) rotate(-2deg);
}
.tr-highlights__card:nth-child(1) .tr-highlights__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.tr-highlights__card:nth-child(2) .tr-highlights__icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tr-highlights__card:nth-child(3) .tr-highlights__icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.tr-highlights__card:nth-child(4) .tr-highlights__icon { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.tr-highlights__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tr-highlights__card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--tr-dark);
    margin-bottom: 8px;
}
.tr-highlights__card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--tr-text-light);
    line-height: 1.8;
    margin: 0;
}


/* ==========================================================================
   4. OUTCOMES
   ========================================================================== */
.tr-outcomes {
    padding: 80px 0;
    background: var(--tr-white);
    position: relative;
    overflow: hidden;
}
.tr-outcomes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-brand), var(--tr-green), var(--tr-green2));
}
/* Floating orb */
.tr-outcomes::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(39,174,96,0.05);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat2 12s ease-in-out infinite;
}
.tr-outcomes .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-outcomes .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-outcomes__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-outcomes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

/* Cards */
.tr-outcomes__card {
    border-radius: var(--tr-radius);
    border: 2px solid #e8ecf1;
    box-shadow: var(--tr-shadow);
    padding: 36px 24px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: var(--tr-transition);
}
/* Accent bar */
.tr-outcomes__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    margin: auto;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-brand));
}
/* Gradient bg per nth-child (blue, green, amber, pink, purple, cyan) */
.tr-outcomes__card:nth-child(1) { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); }
.tr-outcomes__card:nth-child(2) { background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%); }
.tr-outcomes__card:nth-child(3) { background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); }
.tr-outcomes__card:nth-child(4) { background: linear-gradient(180deg, #fce4ec 0%, #fff 100%); }
.tr-outcomes__card:nth-child(5) { background: linear-gradient(180deg, #e0e7ff 0%, #fff 100%); }
.tr-outcomes__card:nth-child(6) { background: linear-gradient(180deg, #ecfeff 0%, #fff 100%); }
/* Hover */
.tr-outcomes__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tr-shadow-lg);
    border-color: var(--tr-green);
}

/* Icon containers */
.tr-outcomes__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 14px;
    transition: var(--tr-transition);
}
.tr-outcomes__card:hover .tr-outcomes__icon {
    transform: scale(1.08) rotate(-2deg);
}
.tr-outcomes__card:nth-child(1) .tr-outcomes__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.tr-outcomes__card:nth-child(2) .tr-outcomes__icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tr-outcomes__card:nth-child(3) .tr-outcomes__icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.tr-outcomes__card:nth-child(4) .tr-outcomes__icon { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.tr-outcomes__card:nth-child(5) .tr-outcomes__icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.tr-outcomes__card:nth-child(6) .tr-outcomes__icon { background: linear-gradient(135deg, #ecfeff, #cffafe); }
.tr-outcomes__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tr-outcomes__card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--tr-dark);
    margin-bottom: 10px;
}
.tr-outcomes__card p {
    font-size: 15px;
    font-weight: 500;
    color: var(--tr-text-light);
    line-height: 1.9;
    margin: 0;
}


/* ==========================================================================
   5. CURRICULUM
   ========================================================================== */
.tr-curriculum {
    padding: 80px 0;
    background: linear-gradient(160deg, #f8fbff 0%, #eaf1fd 30%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}
.tr-curriculum::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2), var(--tr-brand));
}
/* Floating orb */
.tr-curriculum::after {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: rgba(39,174,96,0.04);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat1 10s ease-in-out infinite;
}
.tr-curriculum .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-brand), var(--tr-brand-light));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-curriculum .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-curriculum__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-curriculum__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: right;
}

/* List reset */
.tr-curriculum__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.tr-curriculum__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--tr-text);
    transition: var(--tr-transition);
    border: 1px solid transparent;
}
.tr-curriculum__list li:nth-child(odd) {
    background: var(--tr-white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tr-curriculum__list li:nth-child(even) {
    background: linear-gradient(160deg, #f8fbff, #f0f4f8);
}
.tr-curriculum__list li:hover {
    background: var(--tr-white);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    border-color: rgba(39,174,96,0.2);
    transform: translateX(-6px);
}

/* Checkmark SVG */
.tr-curriculum__check {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(39,174,96,0.25);
}


/* ==========================================================================
   6. DURATION
   ========================================================================== */
.tr-duration {
    padding: 90px 0;
    background: linear-gradient(160deg, #0c1a2a 0%, #1a2d4a 50%, #0f2035 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Decorative orbs */
.tr-duration::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(39,174,96,0.06);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat1 10s ease-in-out infinite;
}
.tr-duration::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: rgba(47,90,174,0.05);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat2 12s ease-in-out infinite;
}
.tr-duration .section-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-duration .container {
    position: relative;
    z-index: 2;
}
.tr-duration__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-white);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-duration__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Glass-morphism stat cards */
.tr-duration__card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--tr-radius);
    padding: 40px 24px;
    transition: var(--tr-transition);
    position: relative;
    overflow: hidden;
}
.tr-duration__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--tr-green2), transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.tr-duration__card:hover::before {
    opacity: 1;
}
.tr-duration__card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    border-color: rgba(39,174,96,0.3);
}
/* Duration decorative elements */
.tr-duration__overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(39,174,96,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(47,90,174,0.06) 0%, transparent 50%);
    z-index: 0; pointer-events: none;
}
.tr-duration__shape {
    position: absolute; border-radius: 50%; pointer-events: none; z-index: 1;
}
.tr-duration__shape--1 {
    top: 15%; left: 5%;
    width: 180px; height: 180px;
    border: 2px solid rgba(255,255,255,0.06);
    animation: trDecoFloat1 8s ease-in-out infinite;
}
.tr-duration__shape--2 {
    bottom: 10%; right: 8%;
    width: 100px; height: 100px;
    border: 2px solid rgba(39,174,96,0.1);
    border-radius: 20px;
    transform: rotate(45deg);
    animation: trDecoFloat2 10s ease-in-out infinite;
}

/* Duration icon */
.tr-duration__icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(39,174,96,0.15);
    border-radius: 16px;
    padding: 12px;
}
.tr-duration__icon svg {
    width: 100%; height: 100%;
    stroke: var(--tr-green2);
}
.tr-duration__card:nth-child(1) .tr-duration__icon { background: rgba(39,174,96,0.15); }
.tr-duration__card:nth-child(2) .tr-duration__icon { background: rgba(47,90,174,0.15); }
.tr-duration__card:nth-child(2) .tr-duration__icon svg { stroke: #60a5fa; }
.tr-duration__card:nth-child(3) .tr-duration__icon { background: rgba(251,191,36,0.15); }
.tr-duration__card:nth-child(3) .tr-duration__icon svg { stroke: #fbbf24; }

/* Duration number + label */
.tr-duration__number {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--tr-green2);
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(46,204,113,0.3);
}
.tr-duration__value {
    display: block;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--tr-green2);
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(46,204,113,0.3);
}
.tr-duration__label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}


/* ==========================================================================
   7. GALLERY
   ========================================================================== */
.tr-gallery {
    padding: 80px 0;
    background: var(--tr-light);
    position: relative;
    overflow: hidden;
}
.tr-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2), var(--tr-brand));
}
.tr-gallery .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-brand), var(--tr-brand-light));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-gallery .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-gallery__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-gallery__carousel {
    position: relative;
}
.tr-gallery .swiper-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    box-shadow: var(--tr-shadow);
    border: 3px solid rgba(255,255,255,0.6);
    transition: var(--tr-transition);
}
.tr-gallery .swiper-slide img:hover {
    transform: scale(1.02);
    box-shadow: var(--tr-shadow-lg);
}
.tr-gallery .swiper-pagination {
    margin-top: 28px;
    position: relative;
}
.tr-gallery .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: var(--tr-transition);
}
.tr-gallery .swiper-pagination-bullet-active {
    background: var(--tr-green);
    width: 28px;
    border-radius: 5px;
}
.tr-gallery .swiper-button-next,
.tr-gallery .swiper-button-prev {
    color: var(--tr-dark);
    width: 44px;
    height: 44px;
    background: var(--tr-white);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: var(--tr-transition);
}
.tr-gallery .swiper-button-next:hover,
.tr-gallery .swiper-button-prev:hover {
    background: var(--tr-green);
    color: var(--tr-white);
    box-shadow: 0 8px 24px rgba(39,174,96,0.3);
}
.tr-gallery .swiper-button-next::after,
.tr-gallery .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}


/* ==========================================================================
   8. GIFTS
   ========================================================================== */
.tr-gifts {
    padding: 80px 0;
    background: linear-gradient(160deg, #f8fbff 0%, #eaf1fd 30%, #e8f4fd 70%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}
/* Accent bar */
.tr-gifts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2), var(--tr-brand));
}
/* Floating orb */
.tr-gifts::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: rgba(46,204,113,0.04);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat2 10s ease-in-out infinite;
}
.tr-gifts .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-gifts .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-gifts__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-gifts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

/* Cards */
.tr-gifts__card {
    background: var(--tr-white);
    border-radius: var(--tr-radius);
    border: 2px solid #e8ecf1;
    box-shadow: var(--tr-shadow);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: visible;
    transition: var(--tr-transition);
}
/* Top accent bar per card (color-coded) */
.tr-gifts__card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    width: 90%;
    margin: auto;
    height: 4px;
    border-radius: 0 0 4px 4px;
}
.tr-gifts__card:nth-child(1)::after { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.tr-gifts__card:nth-child(2)::after { background: linear-gradient(90deg, var(--tr-green), var(--tr-green2)); }
.tr-gifts__card:nth-child(3)::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.tr-gifts__card:nth-child(4)::after { background: linear-gradient(90deg, #ec4899, #f472b6); }
.tr-gifts__card:nth-child(5)::after { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.tr-gifts__card:nth-child(6)::after { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.tr-gifts__card:nth-child(7)::after { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.tr-gifts__card:nth-child(8)::after { background: linear-gradient(90deg, var(--tr-green), var(--tr-green2)); }
.tr-gifts__card:nth-child(9)::after { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
/* Hover */
.tr-gifts__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tr-shadow-lg);
    border-color: var(--tr-green);
}

/* Icon containers */
.tr-gifts__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 12px;
    transition: var(--tr-transition);
}
.tr-gifts__card:hover .tr-gifts__icon {
    transform: scale(1.08) rotate(-2deg);
}
.tr-gifts__card:nth-child(1) .tr-gifts__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.tr-gifts__card:nth-child(2) .tr-gifts__icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tr-gifts__card:nth-child(3) .tr-gifts__icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.tr-gifts__card:nth-child(4) .tr-gifts__icon { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.tr-gifts__card:nth-child(5) .tr-gifts__icon { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); }
.tr-gifts__card:nth-child(6) .tr-gifts__icon { background: linear-gradient(135deg, #ecfeff, #cffafe); }
.tr-gifts__card:nth-child(7) .tr-gifts__icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.tr-gifts__card:nth-child(8) .tr-gifts__icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.tr-gifts__card:nth-child(9) .tr-gifts__icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.tr-gifts__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.tr-gifts__card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--tr-dark);
    margin: 0;
}


/* ==========================================================================
   9. PARTNERS
   ========================================================================== */
.tr-partners {
    padding: 70px 0;
    background: var(--tr-white);
    position: relative;
    overflow: hidden;
}
.tr-partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-brand), var(--tr-brand-light), var(--tr-green));
}
.tr-partners .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-brand), var(--tr-brand-light));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-partners .container {
    text-align: center;
    position: relative;
    z-index: 2;
}
.tr-partners__title {
    text-align: center;
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 48px;
    line-height: 1.4;
}
.tr-partners__carousel {
    position: relative;
}
.tr-partners .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.tr-partners .swiper-slide img {
    width: 130px;
    height: 90px;
    object-fit: contain;
    border-radius: 16px;
    padding: 10px;
    background: var(--tr-white);
    border: 2px solid #e8ecf1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    transition: var(--tr-transition);
}
.tr-partners .swiper-slide img:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: var(--tr-green);
}
.tr-partners .swiper-pagination {
    margin-top: 24px;
    position: relative;
}
.tr-partners .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: var(--tr-transition);
}
.tr-partners .swiper-pagination-bullet-active {
    background: var(--tr-green);
    width: 28px;
    border-radius: 5px;
}
.tr-partners .swiper-button-next,
.tr-partners .swiper-button-prev {
    color: var(--tr-dark);
    width: 44px;
    height: 44px;
    background: var(--tr-white);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: var(--tr-transition);
}
.tr-partners .swiper-button-next:hover,
.tr-partners .swiper-button-prev:hover {
    background: var(--tr-green);
    color: var(--tr-white);
    box-shadow: 0 8px 24px rgba(39,174,96,0.3);
}
.tr-partners .swiper-button-next::after,
.tr-partners .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}


/* ==========================================================================
   10. REGISTRATION
   ========================================================================== */
.tr-registration {
    padding: 80px 0;
    background: linear-gradient(160deg, #f8fbff 0%, #eaf1fd 30%, #e8f4fd 70%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}
/* Accent bar */
.tr-registration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2), var(--tr-brand));
}
/* Floating orb */
.tr-registration::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: rgba(47,90,174,0.04);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: trOrbFloat1 10s ease-in-out infinite;
}
.tr-registration .container {
    position: relative;
    z-index: 2;
}
.tr-registration__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Info side */
.tr-registration__info {
    text-align: right;
}
.tr-registration__info .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    color: var(--tr-white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.tr-registration__title {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 800;
    color: var(--tr-dark);
    margin-bottom: 16px;
    line-height: 1.4;
}
.tr-registration__desc {
    font-size: 16px;
    font-weight: 500;
    color: var(--tr-text-light);
    line-height: 2;
    margin-bottom: 28px;
}
.tr-registration__image {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--tr-shadow-lg);
    border: 3px solid rgba(255,255,255,0.6);
    margin-bottom: 28px;
}
.tr-registration__contact {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Pricing side */
.tr-registration__pricing {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.tr-registration__price-card {
    background: var(--tr-white);
    border-radius: var(--tr-radius);
    border: 2px solid #e8ecf1;
    box-shadow: var(--tr-shadow);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--tr-transition);
}
.tr-registration__price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--tr-green), var(--tr-green2));
    border-radius: 0 0 4px 4px;
}
.tr-registration__price-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--tr-shadow-lg);
    border-color: var(--tr-green);
}
.tr-registration__price-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--tr-dark);
    margin-bottom: 16px;
}
.tr-registration__amount {
    display: inline-block;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    color: var(--tr-green);
    line-height: 1.2;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--tr-green), var(--tr-green2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tr-registration__currency {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--tr-text-light);
    margin-bottom: 20px;
}
/* Featured pricing card */
.tr-registration__price-card--featured {
    background: linear-gradient(160deg, #0c1a2a 0%, #1a2d4a 100%);
    border-color: rgba(39,174,96,0.3);
}
.tr-registration__price-card--featured::before {
    background: linear-gradient(90deg, var(--tr-green2), #27ae60, var(--tr-green2));
    height: 5px;
}
.tr-registration__price-card--featured h3 {
    color: var(--tr-white);
}
.tr-registration__price-card--featured .tr-registration__amount {
    background: linear-gradient(135deg, var(--tr-green2), #a3e635);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tr-registration__price-card--featured .tr-registration__currency {
    color: rgba(255,255,255,0.65);
}
.tr-registration__price-card--featured:hover {
    border-color: var(--tr-green2);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .tr-highlights__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tr-outcomes__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tr-duration__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tr-gifts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tr-registration__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tr-hero {
        min-height: 650px;
        padding-top: 70px;
    }
    .tr-hero__content {
        padding: 60px 20px;
    }
    .tr-hero__title {
        font-size: clamp(26px, 6vw, 40px);
    }
    .tr-hero__shapes {
        display: none;
    }
    .tr-intro {
        padding: 60px 0;
    }
    .tr-intro__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tr-intro__image img {
        height: 280px;
    }
    .tr-highlights {
        padding: 60px 0;
    }
    .tr-highlights__grid {
        grid-template-columns: 1fr;
    }
    .tr-outcomes {
        padding: 60px 0;
    }
    .tr-outcomes__grid {
        grid-template-columns: 1fr;
    }
    .tr-curriculum {
        padding: 60px 0;
    }
    .tr-curriculum__grid {
        grid-template-columns: 1fr;
    }
    .tr-duration {
        padding: 60px 0;
    }
    .tr-duration__grid {
        grid-template-columns: 1fr;
    }
    .tr-duration__value {
        font-size: clamp(30px, 8vw, 44px);
    }
    .tr-gallery {
        padding: 60px 0;
    }
    .tr-gallery .swiper-slide img {
        height: 240px;
    }
    .tr-gifts {
        padding: 60px 0;
    }
    .tr-gifts__grid {
        grid-template-columns: 1fr;
    }
    .tr-partners {
        padding: 50px 0;
    }
    .tr-registration {
        padding: 60px 0;
    }
    .tr-registration__grid {
        grid-template-columns: 1fr;
    }
    .tr-registration__info {
        text-align: center;
    }
    .tr-registration__contact {
        justify-content: center;
    }
    .tr-registration__image {
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .tr-hero__content {
        padding: 50px 16px;
    }
    .tr-btn--hero {
        padding: 14px 36px;
        font-size: 16px;
    }
    .tr-duration__card {
        padding: 28px 16px;
    }
    .tr-registration__price-card {
        padding: 28px 20px;
    }
    .tr-registration__contact {
        flex-direction: column;
        align-items: center;
    }
}
