.custom-overlay {
    position: relative;
    width: 100%;
    height: 100vh; 
}

.custom-overlay img {
    width: 100%;
    height: 85.5vh;
    object-fit: cover;
    position: absolute;
    top: 106px;
    left: 0px;
}

.custom-img-overlay {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100vh; 
    font-family: 'Ubuntu', sans-serif;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
    color: white;
    text-align: left;
    background: rgba(0, 0, 0, 0.5); 
}

.custom-img-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(36, 34, 34, 0.5); - */
    z-index: -1;
}

.custom-img-overlay p {
    font-size: 1rem;
    letter-spacing: 6px;
    color: #e7e7e7;
    animation: custom-animate 4s forwards;
    margin-left: 10px;
    margin-right: 10px;
}

.left-content {
    width: 50%;
    padding-right: 20px;
    margin-top: 180px;
}

.left-content h2 {
    font-size: 5rem; 
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
    white-space: nowrap; 
}

.left-content span {
    display: inline; 
}

.description-large {
    font-size: 1.5rem; 
    letter-spacing: 1px;
    margin-top: 1px;
}

.description-small {
    font-size: 1.2rem; 
    letter-spacing: 1px;
    margin-top:90px;
    display: block;
    width: 100%;
}

.right-content {
    width: 40%;
    padding: 30px;
    margin-left: 200px;
    margin-top: 180px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideInRight 1s ease-out;
    position: relative;
    overflow: hidden;
}

/* Animated background gradient */
.right-content::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 114, 135, 0.1),
        transparent
    );
    animation: rotateGradient 3s linear infinite;
    z-index: 0;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.right-content > * {
    position: relative;
    z-index: 1;
}

.right-content h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff7287;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff7287, 0 0 40px #ff7287;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.right-content ul {
    list-style-type: none;
    padding: 0;
    line-height: 2;
}

.right-content ul li {
    margin: 15px 0;
    transform: translateX(0);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.right-content ul li:nth-child(1) { animation-delay: 0.1s; }
.right-content ul li:nth-child(2) { animation-delay: 0.2s; }
.right-content ul li:nth-child(3) { animation-delay: 0.3s; }
.right-content ul li:nth-child(4) { animation-delay: 0.4s; }
.right-content ul li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.right-content ul li:hover {
    transform: translateX(10px);
    background: rgba(255, 114, 135, 0.2);
    padding: 10px;
    border-radius: 10px;
}

.right-content a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    padding-left: 35px;
    position: relative;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.right-content a:hover {
    color: rgba(255, 114, 135, 1);
    transform: scale(1.05);
    text-shadow: 0 0 10px rgba(255, 114, 135, 0.8);
}

.right-content a i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #4ade80;
    font-size: 20px;
    animation: checkPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 5px #4ade80);
}

@keyframes checkPulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(1.2);
    }
}

.right-content a:hover i {
    color: #fbbf24;
    animation: checkSpin 0.5s ease-in-out;
    filter: drop-shadow(0 0 8px #fbbf24);
}

@keyframes checkSpin {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    100% {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Certificate emoji animation */
.right-content ul li .cert-emoji {
    display: inline-block;
    margin-left: 8px;
    font-size: 20px;
    animation: certFloat 2s ease-in-out infinite;
}

@keyframes certFloat {
    0%, 100% {
        transform: translateY(0) rotate(-5deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

.right-content ul li:hover .cert-emoji {
    animation: certSpin 0.6s ease-in-out;
}

@keyframes certSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.3);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* Badge for "NEW" or "POPULAR" */
.right-content .badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
    animation: badgePulse 1.5s infinite;
    box-shadow: 0 2px 10px rgba(245, 87, 108, 0.5);
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Corner ribbon for featured item */
.right-content .ribbon-corner {
    position: absolute;
    top: 10px;
    right: -5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(0deg);
    z-index: 2;
}

.right-content .ribbon-corner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 20px 0;
    border-color: transparent #4c3d6e transparent transparent;
}

.read_more {
    display: inline-block;
    background: #383435;
    color: #fff;
    max-width: 215px;
    height: 61px;
    line-height: 61px;
    width: 100%;
    font-size: 30px; 
    text-align: center;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    margin-top: 52px;
    border-radius: 20px;
    transition: ease-in all 0.5s;
    text-decoration: none;
    margin-top: 500px;
}

.read_more:hover {
    background-color: rgb(0, 0, 0);
}

.apply-now {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 150px;
}

@media screen and (max-width: 1200px) {
    .custom-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    .left-content {
        width: 50%;
        padding-right: 20px;
        margin-top: 100px;
    }
    
    .read_more {
        max-width: 180px;
        margin-top: 700px;
    }
    
}

@media screen and (max-width: 768px) {
    .custom-img-overlay h2 {
        font-size: 2.5rem;
    }

    .description-large {
        font-size: 1.3rem;
    }

    .read_more {
        font-size: 15px;
        max-width: 160px;
    }

    .left-content h2 {
        font-size: 3rem;
    }

    .right-content {
        width: 80%;
        margin-left: 0;
    }

    .apply-now {
        margin-top: 100px;
    }
}

@media screen and (max-width: 480px) {
    .custom-img-overlay h2 {
        font-size: 2rem;
    }

    .description-large {
        font-size: 1rem;
    }

    .read_more {
        font-size: 14px;
        max-width: 140px;
    }

    .left-content h2 {
        font-size: 2.5rem;
    }

    .right-content {
        width: 100%;
        margin-top: 160px;
    }

    .apply-now {
        margin-top: 80px;
    }
}


   /* Add this to your CSS file */

/* Animated Attention Banner */
.attention-banner {
    position: fixed;
    top: 106px; /* Below your navbar */
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 998; /* Lower than navbar (999) so it stays below when navbar opens */
    animation: slideDown 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.attention-banner .banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.attention-banner .icon-pulse {
    animation: pulse 1.5s infinite;
    font-size: 24px;
}

.attention-banner .close-banner {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.attention-banner .close-banner:hover {
    background: rgba(255, 255, 255, 0.4);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(245, 87, 108, 0.4);
    z-index: 999;
    animation: floatBounce 2s infinite;
    transition: all 0.3s;
}

.floating-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(245, 87, 108, 0.6);
    color: white;
}

@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulsing Circle Badge */
.pulse-badge {
    position: fixed;
    top: 150px;
    right: 30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    z-index: 998;
    cursor: pointer;
    animation: pulseCircle 2s infinite;
    box-shadow: 0 0 0 0 rgba(250, 112, 154, 0.7);
    transition: all 0.3s;
}

.pulse-badge:hover {
    transform: scale(1.1);
}

.pulse-badge .badge-text {
    margin-top: 5px;
    font-size: 12px;
}

@keyframes pulseCircle {
    0% {
        box-shadow: 0 0 0 0 rgba(250, 112, 154, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(250, 112, 154, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(250, 112, 154, 0);
    }
}

/* Animated Notification Dot */
.notification-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .attention-banner {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 15px 25px;
        font-size: 16px;
    }
    
    .pulse-badge {
        width: 90px;
        height: 90px;
        font-size: 12px;
        top: 120px;
        right: 20px;
    }
}