/* Responsive fixes for InternPortal */

/* Floating Apply Now UI */
.floating-apply-now {
    position: absolute;
    top: 15%;
    left: 15%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-now-button {
    background: linear-gradient(135deg, #f72585 0%, #ff0676 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(247, 37, 133, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.apply-now-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.5);
    color: white;
}

.apply-now-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background: rgba(247, 37, 133, 0.3);
    z-index: 1;
    animation: pulse 2s infinite;
}

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

/* Add a subtle floating animation to the Apply Now button */
.floating-apply-now {
    animation: float 3s ease-in-out infinite;
}

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

/* Navbar responsive fixes */
@media (max-width: 991.98px) {
    .navbar {
        width: 100% !important;
        max-width: 100% !important;
    }

    .navbar-container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .navbar-collapse {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Hero section responsive fixes */
@media (max-width: 991.98px) {
    .hero-section .row {
        flex-direction: column;
    }

    .hero-text-content {
        margin-bottom: 2rem;
    }

    .hero-illustration {
        height: 300px;
        margin-top: 1rem;
        position: relative;
    }

    .main-illustration {
        background-size: contain;
        background-position: center;
    }

    .illustration-buttons {
        margin-top: 1rem;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .hero-illustration {
        height: 250px;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    /* Responsive styles for trusted badge and category bubbles */
    .trusted-badge-container {
        top: 0;
        right: 5%;
        margin-top: -10px;
    }

    .trusted-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .category-bubble {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-illustration {
        height: 200px;
    }

    .illustration-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .illustration-buttons .btn {
        width: 100%;
        max-width: 200px;
    }

    .floating-apply-now {
        top: 15%;
        left: 15%;
    }

    .apply-now-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Responsive styles for trusted badge and category bubbles on very small screens */
    .trusted-badge-container {
        top: 0;
        right: 2%;
        margin-top: -5px;
    }

    .trusted-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .category-bubble {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .category-bubble-1 {
        top: 15%;
        right: 10%;
    }

    .category-bubble-2 {
        bottom: 25%;
        right: 15%;
    }

    .category-bubble-3 {
        bottom: 40%;
        left: 10%;
    }
}
