.hero {
    background: linear-gradient(145deg, var(--light-bg) 0%, var(--beige) 55%, #FBF0E8 100%);
    padding: 80px 56px 0;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 82, 26, 0.08) 0%, transparent 70%);
    top: -100px;
    right: 100px;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1.5px dashed rgba(200, 82, 26, 0.2);
    bottom: 60px;
    left: 40px;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-deco-dots {
    position: absolute;
    right: 460px;
    top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 8px);
    gap: 9px;
    opacity: 0.35;
}

.hero-deco-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    display: block;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    animation: fadeUp 0.8s ease both;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(200, 82, 26, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    display: block;
    animation: pulse-ring 1.5s ease infinite;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 60px;
    line-height: 1.06;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    color: var(--primary);
    font-style: italic;
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    border-radius: 2px;
}

.hero-desc {
    color: var(--mid);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    padding: 15px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 8px 28px rgba(200, 82, 26, 0.28);
    letter-spacing: 0.2px;
}

.hero-cta:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(200, 82, 26, 0.35);
}

.hero-cta .arrow {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform var(--transition);
}

.hero-cta:hover .arrow {
    transform: translateX(3px);
}

.hero-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.hero-link:hover {
    color: var(--primary);
}

.hero-trust {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-trust-avatars {
    display: flex;
    margin-right: 4px;
}

.hero-trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: white;
    margin-left: -10px;
    box-shadow: var(--shadow-sm);
}

.hero-trust-avatar:first-child {
    margin-left: 0;
}

.hero-trust-text {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.4;
}

.hero-trust-text strong {
    color: var(--dark);
    display: block;
}

/* SLIDESHOW */
.hero-slideshow {
    position: relative;
    z-index: 2;
    width: 430px;
    height: 480px;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideLeft 0.9s 0.2s ease both;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: linear-gradient(rgba(15, 22, 35, 0.6), rgba(15, 22, 35, 0.6)), url('../pics/Health Care Assistant Caregiver Course.jpeg');
}

.slide-2 {
    background-image: linear-gradient(rgba(15, 22, 35, 0.6), rgba(15, 22, 35, 0.6)), url('../pics/Diploma in Perioperative Theatre Technology.jpeg');
}

.slide-3 {
    background-image: linear-gradient(rgba(15, 22, 35, 0.6), rgba(15, 22, 35, 0.6)), url('../pics/Diploma in Social Work and Community Development.jpeg');
}

.slide-4 {
    background-image: linear-gradient(rgba(15, 22, 35, 0.6), rgba(15, 22, 35, 0.6)), url('../pics/Diploma in ICT Technician.jpeg');
}

.slide-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    text-align: center;
}

.slide-icon {
    font-size: 72px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.slide-title {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: white;
    margin-bottom: 10px;
    line-height: 1.2;
}

.slide-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.slide-badge {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.slide-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    padding: 32px 28px 22px;
}

.slide-stat-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.slide-stat {
    text-align: center;
    color: white;
}

.slide-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
}

.slide-stat span {
    font-size: 11px;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* Slideshow dots */
.slideshow-dots {
    position: absolute;
    bottom: 18px;
    right: 18px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.sdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.sdot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

.slide-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    width: 100%;
    z-index: 3;
}

.slide-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--primary-light));
    width: 0;
    transition: width linear;
    border-radius: 0 2px 2px 0;
}

.hero-float-card {
    position: absolute;
    left: -70px;
    bottom: 80px;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    animation: float 4s 1s ease-in-out infinite;
}

.hero-float-icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 82, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hero-float-text strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    display: block;
}

.hero-float-text span {
    font-size: 11px;
    color: var(--mid);
}

.hero-float-card-2 {
    position: absolute;
    right: -50px;
    top: 60px;
    background: var(--dark);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow-lg);
    z-index: 4;
    min-width: 160px;
    animation: float 5s 0.5s ease-in-out infinite;
    color: white;
}

.hero-float-card-2 .stars {
    color: var(--gold);
    font-size: 13px;
    margin-bottom: 4px;
}

.hero-float-card-2 strong {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.hero-float-card-2 span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}