/*#region Success-Popup Section*/

.bg-gradient-primary {
    background: linear-gradient(135deg, #054D30 0%, #82a698 100%);
}

.company-intro .card {
    transition: transform 0.3s ease;
}

    .company-intro .card:hover {
        transform: translateY(-5px);
    }

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Beautiful Success Popup Styles */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInOverlay 0.4s ease-out;
}

.success-popup-container {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-popup-card {
    background: linear-gradient(135deg, #444444 0%, #ffffff 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4), 0 15px 30px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

    .success-popup-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
        pointer-events: none;
        border-radius: 25px;
    }

    /* Floating sparkles background */
    .success-popup-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 2px, transparent 2px), radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.2) 1px, transparent 1px), radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.3) 2px, transparent 2px), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
        background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
        animation: sparkleFloat 8s ease-in-out infinite;
        opacity: 0.6;
        pointer-events: none;
    }

.success-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-checkmark {
    position: relative;
    z-index: 2;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #273d4e;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #273d4e, 0 0 0 rgba(76, 175, 80, 0.3);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #273d4e;
    fill: rgba(76, 175, 80, 0.1);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #273d4e;
    stroke-width: 4;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
    opacity: 0;
    animation: particleExplode 1.2s ease-out forwards;
}

.particle-1 {
    animation-delay: 0.6s;
}

.particle-2 {
    animation-delay: 0.7s;
}

.particle-3 {
    animation-delay: 0.8s;
}

.particle-4 {
    animation-delay: 0.9s;
}

.particle-5 {
    animation-delay: 1.0s;
}

.particle-6 {
    animation-delay: 1.1s;
}

.success-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: #273d4e !important;
}

.success-title {
    font-size: 1.5rem !important;
    font-weight: 900;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.success-message {
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
    /*opacity: 0.95;*/
    line-height: 1.5;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    text-align: center !important;
}

.success-footer {
}

.success-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(39, 61, 78, 1);
    color: #273d4e !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 16px;
}

    .success-close:hover {
        transform: rotate(40deg) scale(1.1);
    }

/* Enhanced Animations */
@keyframes fadeInOverlay {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    100% {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.7) translateY(-50px) rotateX(10deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.05) translateY(10px) rotateX(-2deg);
    }

    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes slideInBounce {
    0% {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translateY(10px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        /*box-shadow: inset 0 0 0 30px #4CAF50, 0 0 20px rgba(76, 175, 80, 0.5);*/
        /*box-shadow: inset 0 0 0 30px #82a698, 0 0 20px rgba(76, 175, 80, 0.5);*/
    }
}

@keyframes particleExplode {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1) rotate(180deg);
    }
}

.particle-1 {
    top: -10px;
    left: 50%;
    animation-name: particleExplode1;
}

.particle-2 {
    top: 20px;
    right: -10px;
    animation-name: particleExplode2;
}

.particle-3 {
    bottom: -10px;
    left: 30%;
    animation-name: particleExplode3;
}

.particle-4 {
    top: 30%;
    left: -10px;
    animation-name: particleExplode4;
}

.particle-5 {
    top: 10px;
    left: 20%;
    animation-name: particleExplode5;
}

.particle-6 {
    bottom: 20px;
    right: 20%;
    animation-name: particleExplode6;
}

@keyframes particleExplode1 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(0, -30px) scale(1);
    }
}

@keyframes particleExplode2 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(30px, -20px) scale(1);
    }
}

@keyframes particleExplode3 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-10px, 30px) scale(1);
    }
}

@keyframes particleExplode4 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-30px, 0) scale(1);
    }
}

@keyframes particleExplode5 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(20px, -15px) scale(1);
    }
}

@keyframes particleExplode6 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-20px, 25px) scale(1);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .success-popup-container {
        width: 95%;
        margin: 1rem;
    }

    .success-popup-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .success-title {
        font-size: 1rem;
    }

    .checkmark {
        width: 60px;
        height: 60px;
    }

    .success-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* Auto-close popup after delay */
.success-popup-overlay.auto-closing .success-popup-card {
    animation: popupSlideOut 0.5s ease-in-out 4s forwards;
}

.success-popup-overlay.auto-closing {
    animation: fadeOutOverlay 0.5s ease-in-out 4.3s forwards;
}

@keyframes popupSlideOut {
    0% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0.8) translateY(-30px) rotateX(5deg);
        opacity: 0;
    }
}

@keyframes fadeOutOverlay {
    0% {
        opacity: 1;
        backdrop-filter: blur(10px);
    }

    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

/*#endregion Success-Popup Section*/
