/* Custom Gradient Background Styles */
/* Similar to konza1.fireawards.org landing page */

/* Modern gradient background for courses section */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

/* Alternative gradient options */
.gradient-bg-blue {
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
}

.gradient-bg-teal {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.gradient-bg-professional {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

/* Animated gradient (optional) */
.gradient-bg-animated {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Overlay pattern for depth */
.gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Keep content above the overlay */
.gradient-bg > .container {
    position: relative;
    z-index: 1;
}

/* Adjust card backgrounds to work with gradient */
.gradient-bg .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ensure text is readable on gradient */
.gradient-bg .section-heading h5,
.gradient-bg .section-heading p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Grey gradient specific text styling */
.gradient-bg-blue .section-heading h5,
.gradient-bg-blue .section-heading p {
    color: #1f2937;
    text-shadow: none;
}

/* Tab styles for gradient background */
.gradient-bg .nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.gradient-bg .nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
 

/* Grey gradient tab styles */
.gradient-bg-blue .nav-pills .nav-link {
    background: rgba(255, 255, 255, 0.8);
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.gradient-bg-blue .nav-pills .nav-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
}

.gradient-bg-blue .nav-pills .nav-link.active {
    background: #ffffff;
    color: #1f2937;
    border-color: rgba(0, 0, 0, 0.2);
}   border-color: rgba(255, 255, 255, 0.5);
}

.gradient-bg .nav-pills .nav-link.active {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: rgba(255, 255, 255, 0.9);
}
