/* ============================================================
   PAGE TITLE BANNER — SLIIT Robofest Theme
   Colours: --primary #43BAFF | green #6BC044 | dark #142125
   ============================================================ */

/* ─── Banner wrapper ─────────────────────────────────────── */
.page-title-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 360px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 0;
}

/* ─── Layered overlays ───────────────────────────────────── */
.ptb-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* 1. Base dark tone — matches site background */
.ptb-overlay-dark {
    background: rgba(20, 33, 37, 0.72);
    z-index: 1;
}

/* 2. Directional gradient — depth from sides */
.ptb-overlay-gradient {
    background: linear-gradient(
        135deg,
        rgba(10, 20, 24, 0.90) 0%,
        rgba(20, 33, 37, 0.55) 50%,
        rgba(8, 106, 216, 0.10) 100%
    );
    z-index: 2;
}

/* 3. Subtle cyan-to-green sweep on left edge */
.ptb-overlay-accent {
    background: linear-gradient(
        90deg,
        rgba(67, 186, 255, 0.12) 0%,
        transparent 40%
    );
    z-index: 3;
}

/* ─── Decorative shapes container ───────────────────────── */
.ptb-shapes {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

/* Large ring — top right */
.ptb-shape-ring {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    animation: ptb-ring-spin 30s linear infinite;
    opacity: 0.7;
}

/* Smaller ring — bottom left */
.ptb-shape-ring-2 {
    position: absolute;
    bottom: -90px;
    left: -80px;
    width: 320px;
    height: 320px;
    animation: ptb-ring-spin 22s linear infinite reverse;
    opacity: 0.55;
}

@keyframes ptb-ring-spin {
    from { transform: rotate(0deg);   }
    to   { transform: rotate(360deg); }
}

/* Dot grid texture */
.ptb-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(67, 186, 255, 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
}

/* Glowing bottom accent line (like the competition hero) */
.ptb-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(67, 186, 255, 0.5) 30%,
        rgba(107, 192, 68, 0.7) 60%,
        transparent 100%
    );
    z-index: 10;
}

/* ─── Main content ───────────────────────────────────────── */
.ptb-content {
    position: relative;
    z-index: 5;
    padding: 100px 0 80px;
}

/* ─── Live event badge ───────────────────────────────────── */
.ptb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #43BAFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(67, 186, 255, 0.08);
    border: 1px solid rgba(67, 186, 255, 0.28);
    border-radius: 50px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(67, 186, 255, 0.08);
}

/* Pulsing live dot */
.ptb-badge-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43BAFF;
    box-shadow: 0 0 8px rgba(67, 186, 255, 0.9);
    animation: ptb-pulse 1.8s infinite;
    flex-shrink: 0;
}

@keyframes ptb-pulse {
    0%   { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(67, 186, 255, 0.7); }
    70%  { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(67, 186, 255, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(67, 186, 255, 0);   }
}

/* ─── Page heading ───────────────────────────────────────── */
.ptb-heading {
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* Last word gets the gradient highlight */
.ptb-heading-highlight {
    background: linear-gradient(135deg, #43BAFF 0%, #6BC044 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Larger heading variant */
.ptb-heading-lg {
    font-size: clamp(2.8rem, 6vw, 4.4rem);
    letter-spacing: -2px;
}

/* Solid green highlight when used with ptb-heading-lg */
.ptb-heading-lg .ptb-heading-highlight {
    background: none;
    -webkit-text-fill-color: #6BC044;
    color: #6BC044;
}

/* ─── Optional subtitle ──────────────────────────────────── */
.ptb-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 560px;
}

/* ─── Breadcrumb ─────────────────────────────────────────── */
.ptb-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ptb-crumb-link {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s;
    white-space: nowrap;
}

.ptb-crumb-link:hover {
    color: #43BAFF;
    -webkit-text-fill-color: #43BAFF;
}

.ptb-crumb-sep {
    color: rgba(255, 255, 255, 0.30);
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.ptb-crumb-current {
    font-size: 13px;
    font-weight: 700;
    color: #6BC044;
    white-space: nowrap;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 991px) {
    .page-title-banner {
        min-height: 300px;
    }

    .ptb-content {
        padding: 80px 0 65px;
    }

    .ptb-shape-ring {
        width: 320px;
        height: 320px;
        top: -80px;
        right: -80px;
    }

    .ptb-shape-ring-2 {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 767px) {
    .page-title-banner {
        min-height: 250px;
    }

    .ptb-content {
        padding: 70px 0 55px;
        text-align: center;
    }

    .ptb-badge {
        font-size: 10px;
    }

    .ptb-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .ptb-breadcrumb {
        justify-content: center;
    }

    .ptb-shape-ring,
    .ptb-shape-ring-2 {
        opacity: 0.35;
    }
}

/* ─── Coordinator card description ──────────────────────── */

/* Year badge — sits above the name */
.coord-year {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #6BC044;
    background: rgba(107, 192, 68, 0.10);
    border: 1px solid rgba(107, 192, 68, 0.28);
    border-radius: 20px;
    padding: 3px 12px;
    margin-bottom: 7px;
}

/* Short description below the name */
.coord-desc {
    font-size: 12.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    margin: 6px 0 0;
}
