 /* ===== HERO ===== */

.hero{
    display:flex;
    margin-top:75px;
    height:420px;
    overflow:hidden;
}

/* ===== HERO LEFT ===== */
.hero-left{
    width:75%;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    padding:40px;
    box-sizing:border-box;
}

/* SLIDES */
.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    animation:fade 16s infinite;
    border:4px solid #D6EBFF;
    border-radius:14px;
}

.slide::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(10,37,64,0.9),
        rgba(10,37,64,0.35)
    );
}

/* IMAGES */
.slide1{
    background-image:url('https://pntglobal.com/assets/img-new/pnt/pnt_banner.png');
    animation-delay:0s;
}

.slide2{
    background-image:url('https://pntglobal.com/assets/img-new/pnt/d2.jpg');
    animation-delay:4s;
}

.slide3{
    background-image:url('https://pntglobal.com/assets/img-new/pnt/SEOProgram.jpg');
    animation-delay:8s;
}

.slide4{
    background-image:url('https://pntglobal.com/assets/img-new/pnt/off6.jpg');
    animation-delay:12s;
}

/* ANIMATION */
@keyframes fade{
    0%{opacity:0;}
    5%{opacity:1;}
    25%{opacity:1;}
    30%{opacity:0;}
    100%{opacity:0;}
}

/* CONTENT */
.hero-content{
    position:relative;
    z-index:2;
    padding:40px;
    max-width:550px;
}

.hero-content h1{
    font-size:38px;
    line-height:1.1;
    margin-bottom:20px;
    color:#fff;
}

.hero-content p{
    font-size:13px;
    line-height:1.7;
    color:#fff;
}

/* ===== HERO RIGHT ===== */
.hero-right{
    width:25%;
    background:#0f3d2e;
    padding:25px;
    overflow-y:auto;
    border-left:1px solid rgba(255,255,255,0.08);
}

/* PROGRAM BOX */
.program-box {
    color:#fff;
    text-align:center;
    padding:20px;
}

.program-box strong {
    display:block;
    font-size:16px;
    margin-bottom:15px;
    line-height:1.4;
}

.program-box p {
    font-size:12px;
    line-height:1.7;
    margin-bottom:10px;
    opacity:0.9;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 1100px) {

    /* ===== STACK HERO ===== */
    .hero {
        flex-direction: column;
        height: auto;
    }

    /* ===== LEFT FULL WIDTH ===== */
    .hero-left {
        width: 100%;
        min-height: 320px;
        padding: 15px;
    }

    /* ===== RIGHT GOES BELOW ===== */
    .hero-right {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 18px;
    }

    /* ===== TEXT OVERLAY FIX ===== */
    .hero-content {
        padding: 16px;
        margin: 10px;

        max-width: 100%;
        background: rgba(0,0,0,0.45);
        border-radius: 12px;
    }

    .hero-content h1 {
        font-size: 22px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    /* ===== SLIDER FIX (IMPORTANT) ===== */
    .slide {
        border-width: 2px;
        border-radius: 10px;
    }

    /* optional: reduce animation harshness on mobile */
    .slide::before {
        background: linear-gradient(
            90deg,
            rgba(10,37,64,0.85),
            rgba(10,37,64,0.45)
        );
    }
}